On Sun, 2009-10-18 at 13:55 +0200, Jeroen van Meeuwen wrote:
I would put it in
/var/lib/polkit-1/localauthority/20-org.d/10-packagekit-policy.conf.
That should
be /var/lib/polkit-1/localauthority/20-org.d/10-packagekit-policy.pkla,
I think.
What is "any subject"? Both Active and Inactive? Then why
not require
both to be set and eliminate this variable? Is anything other then
Active and Inactive included in Any?
If you read the small print, ResultActive/Inactive are described as
applying to subjects in _local_ sessions. Presumably, ResultAny covers
subjects in remote sessions (or even without sessions ?) as well.
What does Require* have to do with Result* exactly?
This is a bug, I would say. The paragraph is supposed to refer to
ResultFoo, not RequireFoo. I've reported it here for you:
https://bugs.freedesktop.org/show_bug.cgi?id=24640
[1] $ polkit-config-file-validate ~/tmp/10-packagekit-policy.conf
polkit-config-file-validate: error while loading shared libraries:
You really should not have polkit-config-file-validate installed. It is
part of the PolicyKit 0.9 packages that have been obsoleted by polkit.
Matthias