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

Wolodja Wentland debian at babilen5.org
Tue Oct 14 12:59:01 UTC 2014


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.
-- 
Wolodja <debian at babilen5.org>

4096R/CAF14EFC
081C B7CD FF04 2BA9 94EA  36B2 8B7F 7D30 CAF1 4EFC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20141014/b3500362/attachment.sig>


More information about the Pkg-libvirt-maintainers mailing list