Bug 2585813 - AVC denial: systemd-keyring-setup.service fails at boot with AVC denials
Summary: AVC denial: systemd-keyring-setup.service fails at boot with AVC denials
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-29 13:25 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2026-11-29 13:25 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Zbigniew Jędrzejewski-Szmek 2026-11-29 13:25:00 UTC
In systemd-263~rc1 (first prerelease with the new component), systemd-keyring-setup.service is enabled and fails during boot.

As reported in https://bodhi.fedoraproject.org/updates/FEDORA-2026-194dfe811d:
Nov 27 13:28:20 localhost audit[508]: AVC avc:  denied  { view } for  pid=508 comm="systemd-keyring" scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=key permissive=0
Nov 27 13:28:21 localhost kernel: audit: audit_backlog=65 > audit_backlog_limit=64
Nov 27 13:28:21 localhost systemd-keyring-setup[508]: Failed to read permissions of keyring .bpf: Permission denied
...
Nov 27 13:28:21 localhost systemd[1]: systemd-keyring-setup.service: Main process exited, code=exited, status=1/FAILURE
Nov 27 13:28:21 localhost systemd[1]: systemd-keyring-setup.service: Failed with result 'exit-code'.
Nov 27 13:28:21 localhost systemd[1]: Failed to start systemd-keyring-setup.service - Enroll Certificates into Kernel Keyrings.

For now, we're going to disable the service to allow the update to proceed, but the policy needs to be updated…


Note You need to log in before you can comment on or make changes to this bug.