[libvirt] [PATCH] Fix PolicyKit.conf example docs

Cole Robinson crobinso at redhat.com
Wed May 7 20:29:40 UTC 2008


The current docs showing a possible PolicyKit.conf with the example:

  <match action="org.libvirt.unix.manage" user="fred">
    <return result="yes"/>
  </match>

With PolicyKit-0.6-2.fc8, polkit-config-file-validate complains
about this format. 'man PolicyKit.conf' gives a similar example
with the format:

  <match action="org.libvirt.unix.manage">
    <match user="fred">
      <return result="yes"/>
    </match>
  </match>

This doesn't cause any complaints and works. The attached patch updates
the docs with this format.

Thanks,
Cole
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libvirt-polkit-docs-patch
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080507/bfb7d61b/attachment-0001.ksh>


More information about the libvir-list mailing list