[Pkg-libvirt-maintainers] Bug#765346: Bug#765346: Authentication error due to missing polkit agent
Guido Günther
agx at sigxcpu.org
Tue Oct 14 12:19:00 UTC 2014
On Tue, Oct 14, 2014 at 01:02:50PM +0200, Wolodja Wentland wrote:
> 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 [...]
Which is used in
/usr/share/polkit-1/rules.d/60-libvirt.rules
> 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
What version of polkit is running on your system? What's the output of pkaction?
Cheers,
-- Guido
More information about the Pkg-libvirt-maintainers
mailing list