Bug 2432578 - SELinux is preventing udev-event from using the 'dac_override' capabilities.
Summary: SELinux is preventing udev-event from using the 'dac_override' capabilities.
Keywords:
Status: CLOSED DUPLICATE of bug 2394805
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 43
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:1ad795a9f316a84abfdb9e822cc...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-24 19:03 UTC by dan
Modified: 2026-01-27 07:51 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-01-27 07:51:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.42 KB, text/plain)
2026-01-24 19:04 UTC, dan
no flags Details
File: os_info (699 bytes, text/plain)
2026-01-24 19:04 UTC, dan
no flags Details

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 ***


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