Bug 2432578

Summary: SELinux is preventing udev-event from using the 'dac_override' capabilities.
Product: [Fedora] Fedora Reporter: dan
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: dan, dwalsh, jjanasek, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:1ad795a9f316a84abfdb9e822ccf8b76c467891cf49008c669f59cad5e6469f6;VARIANT_ID=workstation;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-01-27 07:51:49 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 dan 2026-01-24 19:03:58 UTC
Description of problem:
Started a VM from virt-manager.
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.6-200.fc43.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Sun Jan 18 18:57:00 UTC 2026
                              x86_64
Alert Count                   5
First Seen                    2026-01-24 13:58:28 EST
Last Seen                     2026-01-24 13:58:28 EST
Local ID                      315ce2af-75b3-430d-87fc-8f52f6a0ac42

Raw Audit Messages
type=AVC msg=audit(1769281108.451:275): avc:  denied  { dac_override } for  pid=8414 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.
type:           libreport
comment:        Started a VM from virt-manager.
hashmarkername: setroubleshoot
package:        selinux-policy-targeted-42.21-1.fc43.noarch
component:      selinux-policy
kernel:         6.18.6-200.fc43.x86_64
component:      selinux-policy

Comment 1 dan 2026-01-24 19:04:00 UTC
Created attachment 2123650 [details]
File: description

Comment 2 dan 2026-01-24 19:04:02 UTC
Created attachment 2123651 [details]
File: os_info

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

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