Request to enable CONFIG_PERSISTENT_KEYRINGS in the kernel
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 78/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- c, linux, raspberry-pi
调研方向
首先找到内核配置中 CONFIG_PERSISTENT_KEYRINGS 的配置项,并检查 CONFIG_KEYS 是否仍处于启用状态。在 Raspberry Pi 上运行 keyctl get_persistent @s,并检查 /boot/config-$(uname -r),以确认当前行为。当生成的配置中出现 CONFIG_PERSISTENT_KEYRINGS=y,且 keyctl 命令返回持久 keyring ID 时,即表示此更改已完成。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
This is a configuration request, there is no bug per-se. I didn't see another option.
Currently CONFIG_PERSISTENT_KEYRINGS is disabled. CONFIG_KEYS is enabled but without PERSISTENT it does not persist beyond the specific execution. This causes unnecessary repeated calls to password manager tools for each execution which can have issues with API call limits and the such. Allowing a fetch to persist would avoid this complexity and noise.
Most other linux hosts I am aware of already support this option and have it enabled.
Steps to reproduce the behaviour
- On a Pi running the current kernel, run ( keyutils)
keyctl get_persistent @s
RESULT:
keyctl_get_persistent: Operation not supported
DESIRED:
##########
Where ########## is a keyring id like 1035441336
- check config
grep PERSISTENT_KEYRINGS /boot/config-$(uname -r)
RESULT:
# CONFIG_PERSISTENT_KEYRINGS is not set
DESIRED:
CONFIG_PERSISTENT_KEYRINGS=y
Device (s)
Raspberry Pi 3 Mod. B, Raspberry Pi 4 Mod. B, Raspberry Pi 5
System
Tested on 3b, 4b, and 5 pi's
Logs
No response
Additional context
No response
- 主要语言
- C
- 星标
- 13.4k
- 派生
- 5.5k
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 37
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
raspberrypi/linux 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
raspberrypi/linux#7415 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
rp1-cfe doesn't forward V4L2_EVENT_SOURCE_CHANGE event from csi-2 sensor driver to userspace app未关闭
难度 2/5 1-3 小时 新手友好度 72/100
raspberrypi/linux#7399 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
raspberrypi/linux#7357 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
raspberrypi/linux#7054 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
raspberrypi/linux#7823 ·
维护者通常 1 天内回复
查看 raspberrypi/linux 的全部 Issue
相似的 Issue
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBuffer未关闭
难度 2/5 1-3 小时 新手友好度 78/100
-
needs triage
难度 2/5 1-3 小时 新手友好度 72/100
389ds/389-ds-base#8251 ·
维护者通常 1 天内回复
-
bug data-types
难度 2/5 1-3 小时 新手友好度 76/100
ClickHouse/clickhouse-cpp#645 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
ROCm/hrx-system#3628 ·
维护者通常 1 天内回复