Bug 2374065 - SELinux is preventing rpc-virtqemud from 'getattr' accesses on the directory /dev/binderfs.
Summary: SELinux is preventing rpc-virtqemud from 'getattr' accesses on the directory ...
Keywords:
Status: CLOSED DUPLICATE of bug 2370706
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 42
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:9cb0c8113fd8c33f59497d3b9b0...
: 2374066 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-20 17:38 UTC by Mr. Beedell, Roke Julian Lockhart (RJLB)
Modified: 2025-06-20 18:18 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-06-20 18:18:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.94 KB, text/plain)
2025-06-20 17:38 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details
File: os_info (767 bytes, text/plain)
2025-06-20 17:38 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details

Description Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-06-20 17:38:02 UTC
Description of problem:
I created a KDE neon-unstable-20250608-1147.iso in virt-manager-5.0.0-2.fc42.noarch.
SELinux is preventing rpc-virtqemud from 'getattr' accesses on the directory /dev/binderfs.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that rpc-virtqemud should be allowed getattr access on the binderfs directory 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 'rpc-virtqemud' --raw | audit2allow -M my-rpcvirtqemud
# semodule -X 300 -i my-rpcvirtqemud.pp

Additional Information:
Source Context                system_u:system_r:virtqemud_t:s0
Target Context                system_u:object_r:binderfs_t:s0
Target Objects                /dev/binderfs [ dir ]
Source                        rpc-virtqemud
Source Path                   rpc-virtqemud
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-41.43-1.fc42.noarch
Local Policy RPM              selinux-policy-targeted-41.43-1.fc42.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.14.11-300.fc42.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Tue Jun 10 16:24:16 UTC 2025
                              x86_64
Alert Count                   2
First Seen                    2025-06-06 14:04:46 BST
Last Seen                     2025-06-20 18:36:57 BST
Local ID                      5954f58d-c4ef-40f1-98b7-5443cca01d92

Raw Audit Messages
type=AVC msg=audit(1750441017.753:1037): avc:  denied  { getattr } for  pid=204037 comm="rpc-virtqemud" path="/dev/binderfs" dev="binder" ino=1 scontext=system_u:system_r:virtqemud_t:s0 tcontext=system_u:object_r:binderfs_t:s0 tclass=dir permissive=1


Hash: rpc-virtqemud,virtqemud_t,binderfs_t,dir,getattr

Version-Release number of selected component:
selinux-policy-targeted-41.43-1.fc42.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing rpc-virtqemud from 'getattr' accesses on the directory /dev/binderfs.
package:        selinux-policy-targeted-41.43-1.fc42.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.14.11-300.fc42.x86_64
comment:        I created a KDE neon-unstable-20250608-1147.iso in virt-manager-5.0.0-2.fc42.noarch.
component:      selinux-policy

Comment 1 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-06-20 17:38:05 UTC
Created attachment 2094512 [details]
File: description

Comment 2 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-06-20 17:38:06 UTC
Created attachment 2094513 [details]
File: os_info

Comment 3 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-06-20 17:42:51 UTC
*** Bug 2374066 has been marked as a duplicate of this bug. ***

Comment 4 Zdenek Pytela 2025-06-20 18:18:57 UTC

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


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