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

Guido Günther agx at sigxcpu.org
Tue Oct 14 13:03:28 UTC 2014


On Tue, Oct 14, 2014 at 02:59:01PM +0200, Wolodja Wentland wrote:
> On Tue, Oct 14, 2014 at 14:19 +0200, Guido Günther wrote:
> > On Tue, Oct 14, 2014 at 01:02:50PM +0200, Wolodja Wentland wrote:
> > >   $ groups
> > >   [...] libvirt [...]
> > 
> > Which is used in
> > 
> > /usr/share/polkit-1/rules.d/60-libvirt.rules
> 
> Well, I only have /etc/polkit-1/rules.d/60-libvirt.rules and apt-file also lists
> only that:
> 
>     $ apt-file search 60-libvirt.rules
>     libvirt-daemon-system: /etc/polkit-1/rules.d/60-libvirt.rules
> 
> And the content of that file is:
> 
>     /* -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- */
> 
>     // Mimic behaviour of group libvirt owning libvirt's rw socket
>     //
>     // See the polkit(8) man page for more information
>     // about configuring polkit.
> 
>     polkit.addRule(function(action, subject) {
>         if (action.id == "org.libvirt.unix.manage" &&
>             subject.isInGroup("libvirt")) {
>             return polkit.Result.YES;
>         }
>     });
> 
> Which seems to work (well, there are at least some libvirt related entries in
> the output of pkaction. Just wanted to clarify this point.

O.k. The file moves to /usr/share with the next upload. Sorry about
that. Could you update to polkit from experimental and check if this
fixes your problem?
Cheers,
 -- Guido



More information about the Pkg-libvirt-maintainers mailing list