Bug 2430643

Summary: SELinux is preventing udev-event from using the 'dac_override' capabilities.
Product: [Fedora] Fedora Reporter: e44 <e446f63>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 43CC: dwalsh, e446f63, jjanasek, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:1ad795a9f316a84abfdb9e822ccf8b76c467891cf49008c669f59cad5e6469f6;VARIANT_ID=kde;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-01-27 07:51:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: description
none
File: os_info none

Description e44 2026-01-17 21:57:40 UTC
Description of problem:
Began after normal `dnf upgrade`.
SELinux is preventing udev-event from using the 'dac_override' capabilities.

*****  Plugin dac_override (91.4 confidence) suggests   **********************

If you want to help identify if domain needs this access or you have a file with the wrong permissions on your system
Then turn on full auditing to get path information about the offending file and generate the error again.
Do

Turn on full auditing
# auditctl -w /etc/shadow -p w
Try to recreate AVC. Then execute
# ausearch -m avc -ts recent
If you see PATH record check ownership/permissions on file, and fix it,
otherwise report as a bugzilla.

*****  Plugin catchall (9.59 confidence) suggests   **************************

If you believe that udev-event should have the dac_override capability by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'udev-event' --raw | audit2allow -M my-udevevent
# semodule -X 300 -i my-udevevent.pp

Additional Information:
Source Context                system_u:system_r:virtnodedevd_t:s0
Target Context                system_u:system_r:virtnodedevd_t:s0
Target Objects                Unknown [ capability ]
Source                        udev-event
Source Path                   udev-event
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-42.21-1.fc43.noarch
Local Policy RPM              selinux-policy-targeted-42.21-1.fc43.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.18.5-200.fc43.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Sun Jan 11 17:09:32 UTC 2026
                              x86_64
Alert Count                   1237
First Seen                    2025-12-06 10:34:12 CST
Last Seen                     2026-01-17 15:52:59 CST
Local ID                      9ddbcb69-d2b0-4e2e-ae4c-07a4ba32c517

Raw Audit Messages
type=AVC msg=audit(1768686779.383:337): avc:  denied  { dac_override } for  pid=1198 comm="udev-event" capability=1  scontext=system_u:system_r:virtnodedevd_t:s0 tcontext=system_u:system_r:virtnodedevd_t:s0 tclass=capability permissive=0


Hash: udev-event,virtnodedevd_t,virtnodedevd_t,capability,dac_override

Version-Release number of selected component:
selinux-policy-targeted-42.21-1.fc43.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing udev-event from using the 'dac_override' capabilities.
package:        selinux-policy-targeted-42.21-1.fc43.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.18.5-200.fc43.x86_64
comment:        Began after normal `dnf upgrade`.
component:      selinux-policy

Comment 1 e44 2026-01-17 21:57:42 UTC
Created attachment 2122540 [details]
File: description

Comment 2 e44 2026-01-17 21:57:43 UTC
Created attachment 2122541 [details]
File: os_info

Comment 3 jjanasek 2026-01-27 07:51:53 UTC

*** This bug has been marked as a duplicate of bug 2394805 ***