Bug 2585813

Summary: AVC denial: systemd-keyring-setup.service fails at boot with AVC denials
Product: [Fedora] Fedora Reporter: Zbigniew Jędrzejewski-Szmek <zbyszek>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dwalsh, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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…