Red Hat Bugzilla – Bug 610822
DOCS: on www.libvirt.org about using PolicyKit authentication for libvirt is out of date
Last modified: 2010-09-21 12:58:15 EDT
Description of problem:
The documentation at http://www.libvirt.org/auth.html in the section "Unix socket PolicyKit auth does not work anymore with the newer PolicyKit releases that are shiped with Fedora 12 and newer.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. try to edit /etc/PolicyKit/PolicyKit.conf as instructed on http://www.libvirt.org/auth.html
With newer PolicyKit releases users have to add a file /var/lib/polkit-1/localauthority/50-local.d/libvirt.pkla and put the appropriate config in it to modify the default policy. Here's an example libvirt.pkla that gives user "fred" the right to manage libvirt without being prompted for a password:
[Local virt-manager Permissions]
Created attachment 438512 [details]
Patch to update the documentation
Here's a patch to update the documentation appropriately.
This issue has been resolved upstream, with the results now live.
As an additional thought if it's useful, there's more info on PolicyKit usage with libvirt here too: