[Pkg-libvirt-maintainers] Bug#765346: Authentication error due to missing polkit agent

Wolodja Wentland debian at babilen5.org
Tue Oct 14 11:02:50 UTC 2014


Package: libvirt-bin
Version: 1.2.9-2
Severity: important

Hello,

ever since upgrading libvirt* to 1.2.9* I am running into the following error
when trying to connect:

  $ virsh connect qemu:///system
  error: Failed to connect to the hypervisor
  error: authentication failed: no agent is available to authenticate

This is, presumably, due to the changes introduced to the authentication system
introduced in da11813 [0], but I am not sure how to ensure that an agent is
started properly. My user is, naturally, a member of the expected groups:

  $ groups
  [...] libvirt [...]

and polkitd is running properly:

  $ ps aux|grep polkitd
  root      2072  0.1  0.0 280140  7640 ?        Ssl  12:49   0:00
  /usr/lib/policykit-1/polkitd --no-debug

I can reproduce this error under both i3 and Gnome and therefore don't
necessarily think that it is due to the way my session is being loaded, but
could very well be due to me not having installed all necessary packages to
ensure that libvirt is able to properly authenticate via polkit.

Would you, dear maintainer, be aware of anything that I might like to try to get
libvirt 1.2.9 running on sid?

[0] Use polkit instead of socket permissions.  As before membership
    in the libvirt group gives r/w access to all VMs

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf-8, LC_CTYPE=en_GB.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libvirt-bin depends on:
ii  libvirt-clients        1.2.9-2
ii  libvirt-daemon-system  1.2.9-2

libvirt-bin recommends no packages.

libvirt-bin suggests no packages.

-- no debconf information



More information about the Pkg-libvirt-maintainers mailing list