Request to enable CONFIG_PERSISTENT_KEYRINGS in the kernel
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- c, linux, raspberry-pi
- Domain
- operating-systems
Research direction
Start by finding the kernel configuration entry for CONFIG_PERSISTENT_KEYRINGS and checking that CONFIG_KEYS remains enabled. On a Raspberry Pi, run keyctl get_persistent @s and inspect /boot/config-$(uname -r) to confirm the current behavior. The change is done when CONFIG_PERSISTENT_KEYRINGS=y appears in the generated config and the keyctl command returns a persistent keyring ID.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- C
- Stars
- 13.4k
- Forks
- 5.5k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 37
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from raspberrypi/linux
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7415 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
rp1-cfe doesn't forward V4L2_EVENT_SOURCE_CHANGE event from csi-2 sensor driver to userspace appOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
raspberrypi/linux#7399 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
raspberrypi/linux#7357 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7054 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
raspberrypi/linux#7823 ·
Maintainers usually reply within 1 day
All issues in raspberrypi/linux
Similar issues
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBufferOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
389ds/389-ds-base#8251 ·
Maintainers usually reply within 1 day
-
bug data-types
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ClickHouse/clickhouse-cpp#645 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ROCm/hrx-system#3628 ·
Maintainers usually reply within 1 day