[Pkg-libvirt-maintainers] Bug#803240: libvirt-clients: Cannot run virsh as user, polkit permission problem

Benjamin Cama benjamin.cama at telecom-bretagne.eu
Wed Oct 28 10:28:17 UTC 2015


Package: libvirt-clients
Version: 1.2.9-9+deb8u1
Severity: important

Dear Maintainer,

Since my upgrade to jessie, I can not use "virsh" anymore for the system
instance (the session one works well). As a simple user, I get:

  % virsh -c qemu:///system
  error: failed to connect to the hypervisor
  error: error from service: CheckAuthorization: Action org.libvirt.unix.manage is not registered

I am into the "libvirt" group, and frankly I do not understand well all
the polkit permission stuff. It used to work well on wheezy. Running as
root, it works correctly, but I would prefer not to.

I did not change anything related to polkit or libvirt to fix this
problem. There used to be some issues with the systemd transition when
upgrading to jessie, but I do not remember changing anything
fundamental. I can provide excerpts from /etc where needed if you ask.

Thanks.

-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libvirt-clients depends on:
ii  libapparmor1        2.9.0-3
ii  libaudit1           1:2.4-1+b1
ii  libavahi-client3    0.6.31-5
ii  libavahi-common3    0.6.31-5
ii  libc6               2.19-18+deb8u1
ii  libcap-ng0          0.7.4-2
ii  libdbus-1-3         1.8.20-0+deb8u1
ii  libdevmapper1.02.1  2:1.02.90-2.2
ii  libgnutls-deb0-28   3.3.8-6+deb8u3
ii  libnl-3-200         3.2.24-2
ii  libnl-route-3-200   3.2.24-2
ii  libnuma1            2.0.10-1
ii  libreadline6        6.3-8+b3
ii  libsasl2-2          2.1.26.dfsg1-13+deb8u1
ii  libselinux1         2.3-2
ii  libssh2-1           1.4.3-4.1
ii  libsystemd0         215-17+deb8u2
ii  libvirt0            1.2.9-9+deb8u1
ii  libxml2             2.9.1+dfsg1-5
ii  libyajl2            2.1.0-2

libvirt-clients recommends no packages.

Versions of packages libvirt-clients suggests:
ii  libvirt-daemon  1.2.9-9+deb8u1

-- no debconf information



More information about the Pkg-libvirt-maintainers mailing list