Comment 0 for bug 1802005

Revision history for this message
Martin Pitt (pitti) wrote : D-Bus socket is inaccessible

Package: libvirt-dbus
Version: 1.2.0-1

libvirt-dbus seems to be completely broken for the system connection:

root:~# busctl call org.libvirt /org/libvirt/QEMU org.libvirt.Connect ListDomains u 0
Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied

root:~# ls -l /var/run/libvirt/libvirt-sock
srwxrwx--- 1 root libvirt 0 Nov 6 15:15 /var/run/libvirt/libvirt-sock

root:~# ps aux|grep libvirtd
root 1434 0.0 3.4 1038028 35212 ? Ssl 15:15 0:00 /usr/sbin/libvirtd

The same happens for a user that is in the "libvirt" group.

On Fedora and also Debian testing (which has the exact same libvirt-dbus package), the socket has permissions 777 instead of 770, where it works. I don't have an idea where the wrong permissions are set.