Bug 2374161
| Summary: | SELinux is preventing /usr/bin/virtqemud from 'getattr' accesses on the directory /dev/binderfs. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mr. Beedell, Roke Julian Lockhart (RJLB) <8ru2u4gz> | ||||||
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 42 | CC: | 8ru2u4gz, dwalsh, jjanasek, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | abrt_hash:9cb0c8113fd8c33f59497d3b9b06700e0f5a1cf9f7af95c6aba3a3ef6ecfb9a2;VARIANT_ID=kde; | ||||||||
| Fixed In Version: | Doc Type: | --- | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2025-12-19 08:48:17 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: |
|
||||||||
Created attachment 2094610 [details]
File: description
Created attachment 2094611 [details]
File: os_info
*** This bug has been marked as a duplicate of bug 2370706 *** |
Description of problem: I created an `openSUSE-Tumbleweed-NET-x86_64-Snapshot20250618-Media.iso` VM in `virt-manager-5.0.0-2.fc42.noarch`. SELinux is preventing /usr/bin/virtqemud from 'getattr' accesses on the directory /dev/binderfs. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that 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 /usr/bin/virtqemud Port <Unknown> Host (removed) Source RPM Packages libvirt-daemon-driver-qemu-11.0.0-2.fc42.x86_64 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 1 First Seen 2025-06-21 14:15:34 BST Last Seen 2025-06-21 14:15:34 BST Local ID 650cbbac-bbdb-4b25-9203-08515835c57a Raw Audit Messages type=AVC msg=audit(1750511734.651:433): avc: denied { getattr } for pid=107418 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 type=SYSCALL msg=audit(1750511734.651:433): arch=x86_64 syscall=newfstatat success=yes exit=0 a0=ffffff9c a1=7f770403f580 a2=7f77133fcf90 a3=0 items=1 ppid=107417 pid=107418 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=rpc-virtqemud exe=/usr/bin/virtqemud subj=system_u:system_r:virtqemud_t:s0 key=(null) type=CWD msg=audit(1750511734.651:433): cwd=/ type=PATH msg=audit(1750511734.651:433): item=0 name=/dev/binderfs inode=1 dev=00:25 mode=040755 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:binderfs_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0 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 /usr/bin/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 an `openSUSE-Tumbleweed-NET-x86_64-Snapshot20250618-Media.iso` VM in `virt-manager-5.0.0-2.fc42.noarch`. component: selinux-policy