Description of problem: 在使用系统虚拟管理器启动虚拟机(由@virtulalization包组提供)时发生(系统中装有waydroid 这可能于此有关) SELinux is preventing rpc-virtqemud from 'getattr' accesses on the 目录 /dev/binderfs. ***** Plugin catchall (100. confidence) suggests ************************** 如果你相信 rpc-virtqemud应该允许_BASE_PATH getattr 访问 binderfs directory默认情况下。 Then 应该将这个情况作为 bug 报告。 可以生成本地策略模块以允许此访问。 Do 暂时允许此访问权限执行: # 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 <未知> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-41.38-1.fc42.noarch Local Policy RPM selinux-policy-targeted-41.38-1.fc42.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.14.4-300.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 25 15:43:38 UTC 2025 x86_64 Alert Count 1 First Seen 2025-05-06 00:25:34 CST Last Seen 2025-05-06 00:25:34 CST Local ID b8d49e10-e095-42dc-8910-c471315251a6 Raw Audit Messages type=AVC msg=audit(1746462334.473:381): avc: denied { getattr } for pid=9201 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.38-1.fc42.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing rpc-virtqemud from 'getattr' accesses on the 目录 /dev/binderfs. package: selinux-policy-targeted-41.38-1.fc42.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.14.4-300.fc42.x86_64 comment: 在使用系统虚拟管理器启动虚拟机(由@virtulalization包组提供)时发生(系统中装有waydroid 这可能于此有关) component: selinux-policy
Created attachment 2088563 [details] File: description
Created attachment 2088564 [details] File: os_info
*** This bug has been marked as a duplicate of bug 2327878 ***