Gabriel Filion
2020-04-16 23:00:01 UTC
Package: libvirt-daemon
Version: 6.0.0-6
Severity: important
Hello,
I've been unable to use libvirt for a while and I haven't yet found a
workaround or a fix..
This started happening the last time I ran package upgrades. However, since I
don't run them very often I'm not sure with which versions of packages it
started happening. If it seems relevant to do so, I can test rolling back to
older packages to figure out when things started to break down.
I've been using libvirt with qemu-kvm for a while.
my user is part of the libvirt and kvm groups so I should have access to the
local unix sockets. however when I try and connect to libvirt on localhost
(either with vagrant-libvirt or with virt-manager) I get an error message that
also appears in the service's log as:
Apr 16 17:51:47 meevyl libvirtd[544743]: error from service: CheckAuthorization: Action org.libvirt.unix.manage is not registered
Apr 16 17:51:47 meevyl libvirtd[544743]: End of file while reading data: Input/output error
From what I could vaguely understand, the first line seems to be related to
polkit but I don't quite understand how this thing is supposed to be working.
I do have polkit installed and runing:
$ dpkg -l | grep polkit
ii gir1.2-polkit-1.0 0.105-26 amd64 GObject introspection data for PolicyKit
ii libpolkit-agent-1-0:amd64 0.105-26 amd64 PolicyKit Authentication Agent API
ii libpolkit-gobject-1-0:amd64 0.105-26 amd64 PolicyKit Authorization API
$ ps aux|grep polkit
root 544473 0.0 0.0 235204 10120 ? Ssl 17:49 0:00 /usr/lib/policykit-1/polkitd --no-debug
gabster 545750 0.0 0.0 8744 844 pts/8 S+ 18:29 0:00 grep --color=auto polkit
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.utf8), LANGUAGE=en_CA.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libvirt-daemon depends on:
ii libblkid1 2.34-0.1
ii libc6 2.30-4
ii libcap-ng0 0.7.9-2.1+b2
ii libdbus-1-3 1.12.16-2
ii libdevmapper1.02.1 2:1.02.167-1+b1
ii libfuse2 2.9.9-3
ii libgcc-s1 10-20200411-1
ii libglib2.0-0 2.64.2-1
ii libnetcf1 1:0.2.8-1+b3
ii libparted2 3.3-4
ii libpcap0.8 1.9.1-3
ii libpciaccess0 0.14-1
ii libselinux1 3.0-1+b3
ii libudev1 245.4-4
ii libvirt-daemon-driver-qemu 6.0.0-6
ii libvirt0 6.0.0-6
ii libxml2 2.9.10+dfsg-5
Versions of packages libvirt-daemon recommends:
ii libvirt-daemon-driver-lxc 6.0.0-6
ii libvirt-daemon-driver-vbox 6.0.0-6
ii libvirt-daemon-driver-xen 6.0.0-6
ii libxml2-utils 2.9.10+dfsg-5
ii netcat-openbsd 1.206-1
ii qemu 1:4.2-6
ii qemu-kvm 1:4.2-6
Versions of packages libvirt-daemon suggests:
pn libvirt-daemon-driver-storage-gluster <none>
pn libvirt-daemon-driver-storage-rbd <none>
pn libvirt-daemon-driver-storage-zfs <none>
pn libvirt-daemon-system <none>
pn numad <none>
-- no debconf information
Version: 6.0.0-6
Severity: important
Hello,
I've been unable to use libvirt for a while and I haven't yet found a
workaround or a fix..
This started happening the last time I ran package upgrades. However, since I
don't run them very often I'm not sure with which versions of packages it
started happening. If it seems relevant to do so, I can test rolling back to
older packages to figure out when things started to break down.
I've been using libvirt with qemu-kvm for a while.
my user is part of the libvirt and kvm groups so I should have access to the
local unix sockets. however when I try and connect to libvirt on localhost
(either with vagrant-libvirt or with virt-manager) I get an error message that
also appears in the service's log as:
Apr 16 17:51:47 meevyl libvirtd[544743]: error from service: CheckAuthorization: Action org.libvirt.unix.manage is not registered
Apr 16 17:51:47 meevyl libvirtd[544743]: End of file while reading data: Input/output error
From what I could vaguely understand, the first line seems to be related to
polkit but I don't quite understand how this thing is supposed to be working.
I do have polkit installed and runing:
$ dpkg -l | grep polkit
ii gir1.2-polkit-1.0 0.105-26 amd64 GObject introspection data for PolicyKit
ii libpolkit-agent-1-0:amd64 0.105-26 amd64 PolicyKit Authentication Agent API
ii libpolkit-gobject-1-0:amd64 0.105-26 amd64 PolicyKit Authorization API
$ ps aux|grep polkit
root 544473 0.0 0.0 235204 10120 ? Ssl 17:49 0:00 /usr/lib/policykit-1/polkitd --no-debug
gabster 545750 0.0 0.0 8744 844 pts/8 S+ 18:29 0:00 grep --color=auto polkit
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.utf8), LANGUAGE=en_CA.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libvirt-daemon depends on:
ii libblkid1 2.34-0.1
ii libc6 2.30-4
ii libcap-ng0 0.7.9-2.1+b2
ii libdbus-1-3 1.12.16-2
ii libdevmapper1.02.1 2:1.02.167-1+b1
ii libfuse2 2.9.9-3
ii libgcc-s1 10-20200411-1
ii libglib2.0-0 2.64.2-1
ii libnetcf1 1:0.2.8-1+b3
ii libparted2 3.3-4
ii libpcap0.8 1.9.1-3
ii libpciaccess0 0.14-1
ii libselinux1 3.0-1+b3
ii libudev1 245.4-4
ii libvirt-daemon-driver-qemu 6.0.0-6
ii libvirt0 6.0.0-6
ii libxml2 2.9.10+dfsg-5
Versions of packages libvirt-daemon recommends:
ii libvirt-daemon-driver-lxc 6.0.0-6
ii libvirt-daemon-driver-vbox 6.0.0-6
ii libvirt-daemon-driver-xen 6.0.0-6
ii libxml2-utils 2.9.10+dfsg-5
ii netcat-openbsd 1.206-1
ii qemu 1:4.2-6
ii qemu-kvm 1:4.2-6
Versions of packages libvirt-daemon suggests:
pn libvirt-daemon-driver-storage-gluster <none>
pn libvirt-daemon-driver-storage-rbd <none>
pn libvirt-daemon-driver-storage-zfs <none>
pn libvirt-daemon-system <none>
pn numad <none>
-- no debconf information