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

Guido Günther agx at sigxcpu.org
Wed Oct 28 18:20:50 UTC 2015


Hi,
On Wed, Oct 28, 2015 at 11:28:17AM +0100, Benjamin Cama wrote:
> 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.

Please provide

* libvirtd.conf
* ps awux | grep -E "dbus|pol"
* /var/lib/polkit-1/localauthority/10-vendor.d/60-libvirt.pkla
* ls /usr/share/polkit-1/actions/
* dpkg -s policykit-1

Cheers,
 -- Guido



More information about the Pkg-libvirt-maintainers mailing list