Bug 2430643 - 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-17 21:57 UTC by e44
Modified: 2026-01-27 07:51 UTC (History)
9 users (show)

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


Attachments (Terms of Use)
File: description (2.42 KB, text/plain)
2026-01-17 21:57 UTC, e44
no flags Details
File: os_info (712 bytes, text/plain)
2026-01-17 21:57 UTC, e44
no flags Details

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


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