Public bug reported:

Package: libvirt-dbus
Version: 1.2.0-1
DistroRelease: Ubuntu 18.10

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.

** Affects: libvirt-dbus (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: cosmic

** Tags added: cosmic

** Description changed:

  Package: libvirt-dbus
  Version: 1.2.0-1
+ DistroRelease: Ubuntu 18.10
  
  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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1802005

Title:
  D-Bus socket is inaccessible

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt-dbus/+bug/1802005/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to