Description of problem: Use "cockpit" to list virtual machines. SELinux is preventing pool-libvirt-db from 'connectto' accesses on the unix_stream_socket /run/libvirt/virtqemud-sock. ***** Plugin catchall_boolean (89.3 confidence) suggests ****************** If you want to allow daemons to enable cluster mode Then you must tell SELinux about this by enabling the 'daemons_enable_cluster_mode' boolean. Do setsebool -P daemons_enable_cluster_mode 1 ***** Plugin catchall (11.6 confidence) suggests ************************** If you believe that pool-libvirt-db should be allowed connectto access on the virtqemud-sock unix_stream_socket 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 'pool-libvirt-db' --raw | audit2allow -M my-poollibvirtdb # semodule -X 300 -i my-poollibvirtdb.pp Additional Information: Source Context system_u:system_r:virt_dbus_t:s0 Target Context system_u:system_r:virtqemud_t:s0 Target Objects /run/libvirt/virtqemud-sock [ unix_stream_socket ] Source pool-libvirt-db Source Path pool-libvirt-db Port <Unknown> Host (removed) Source RPM Packages libvirt-dbus-1.4.1-4.fc40.x86_64 Target RPM Packages SELinux Policy RPM selinux-policy-targeted-41.7-1.fc41.noarch Local Policy RPM selinux-policy-targeted-41.7-1.fc41.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.9.6-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jun 21 15:48:21 UTC 2024 x86_64 Alert Count 6 First Seen 2024-07-01 10:21:21 PDT Last Seen 2024-07-02 09:55:02 PDT Local ID be994f88-9f55-4267-b96c-923cbccdf5f4 Raw Audit Messages type=AVC msg=audit(1719939302.511:266): avc: denied { connectto } for pid=3504 comm="pool-libvirt-db" path="/run/libvirt/virtqemud-sock" scontext=system_u:system_r:virt_dbus_t:s0 tcontext=system_u:system_r:virtqemud_t:s0 tclass=unix_stream_socket permissive=0 type=SYSCALL msg=audit(1719939302.511:266): arch=x86_64 syscall=connect success=no exit=EACCES a0=7 a1=7f15029ff4d0 a2=6e a3=7f14ec0015c0 items=0 ppid=1 pid=3504 auid=4294967295 uid=969 gid=969 euid=969 suid=969 fsuid=969 egid=969 sgid=969 fsgid=969 tty=(none) ses=4294967295 comm=pool-libvirt-db exe=/usr/sbin/libvirt-dbus subj=system_u:system_r:virt_dbus_t:s0 key=(null) Hash: pool-libvirt-db,virt_dbus_t,virtqemud_t,unix_stream_socket,connectto Version-Release number of selected component: selinux-policy-targeted-41.7-1.fc41.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing pool-libvirt-db from 'connectto' accesses on the unix_stream_socket /run/libvirt/virtqemud-sock. package: selinux-policy-targeted-41.7-1.fc41.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.9.6-200.fc40.x86_64 comment: Use "cockpit" to list virtual machines. component: selinux-policy
Created attachment 2038717 [details] File: description
Created attachment 2038718 [details] File: os_info
This is a follow-up to Bug 2293199, Comment 5. The test system is an F40 Workstation VM.
(In reply to Steve from comment #3) > This is a follow-up to Bug 2293199, Comment 5. > > The test system is an F40 Workstation VM. The system uses rawhide policy, so I changed the bz metadata.
*** Bug 2295268 has been marked as a duplicate of this bug. ***