Old version fails:

root@h:~# apt install libvirt-dbus
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  libvirt-dbus
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 61.6 kB of archives.
After this operation, 350 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu hirsute/universe amd64 libvirt-dbus 
amd64 1.4.0-2 [61.6 kB]
Fetched 61.6 kB in 0s (275 kB/s)     
Selecting previously unselected package libvirt-dbus.
(Reading database ... 48757 files and directories currently installed.)
Preparing to unpack .../libvirt-dbus_1.4.0-2_amd64.deb ...
Unpacking libvirt-dbus (1.4.0-2) ...
Setting up libvirt-dbus (1.4.0-2) ...
Processing triggers for dbus (1.12.20-1ubuntu3) ...
Processing triggers for man-db (2.9.4-2) ...
Scanning processes...                                                           
                                                                                
                           

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.
root@h:~# ls -l /var/run/libvirt/libvirt-sock
srw-rw---- 1 root libvirt 0 May 12 06:45 /var/run/libvirt/libvirt-sock
root@h:~# id libvirtdbus
uid=997(libvirtdbus) gid=997(libvirtdbus) groups=997(libvirtdbus)
root@h:~# busctl call org.libvirt /org/libvirt/QEMU org.libvirt.Connect 
ListDomains u 0
Call failed: Failed to connect socket to '/var/run/libvirt/libvirt-sock': 
Permission denied



New version in proposed works

root@h:~# apt install libvirt-dbus
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  libvirt-dbus
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
Need to get 63.0 kB of archives.
After this operation, 343 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu hirsute-proposed/universe amd64 
libvirt-dbus amd64 1.4.0-2ubuntu0.1 [63.0 kB]
Fetched 63.0 kB in 0s (621 kB/s)     
Selecting previously unselected package libvirt-dbus.
(Reading database ... 48757 files and directories currently installed.)
Preparing to unpack .../libvirt-dbus_1.4.0-2ubuntu0.1_amd64.deb ...
Unpacking libvirt-dbus (1.4.0-2ubuntu0.1) ...
Setting up libvirt-dbus (1.4.0-2ubuntu0.1) ...
Processing triggers for dbus (1.12.20-1ubuntu3) ...
Processing triggers for man-db (2.9.4-2) ...
Scanning processes...                                                           
                                                                                
                           

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.
root@h:~# id libvirtdbus
uid=997(libvirtdbus) gid=997(libvirtdbus) groups=997(libvirtdbus),120(libvirt)
root@h:~# busctl call org.libvirt /org/libvirt/QEMU org.libvirt.Connect 
ListDomains u 0
ao 0

** Tags removed: verification-needed verification-needed-hirsute
** Tags added: verification-done verification-done-hirsute

-- 
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:
  socket is inaccessible for libvirt-dbus

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to