
I solved it and thought updating the documentation for PolicyKit 1 would be nice. Patch attached.
Is this patch still relevant against the latest sources? If so, would you mind resending it, so we can get it into 0.8.5?
Kind of thinking we may have fixed this already. The PolicyKit documentation has recently been updated, to reflect the new(er) way of doing things with it:
http://libvirt.org/auth.html#ACL_server_polkit
and
These pages together go more into detail and offer more examples than my patch did.
Just checked Gerd's patch, and the PolicyKit-0 stuff seems useful, as well as the example (which I haven't tested).
The PolicyKit-0 stuff was in there before, I just kept it and added PolicyKit-1. I don't think we need the PolicyKit-0 documentation anymore, everyone using current libvirt is most probably also using PolicyKit-1. Kind regards, Gerd -- Address (better: trap) for people I really don't want to get mail from: jonas@cactusamerica.com