Allow putting .policy files in a different location than /usr/PolicyKit

Dario Freddi drf54321 at gmail.com
Thu Sep 3 01:47:30 PDT 2009


Hello lists,

I will make the situation pretty clear in a fast way: at the moment we (as in 
developers) at KDE have a small problem regarding PolicyKit, after it has been 
deeply integrated in 4.4 (trunk).

It seems like there is no way to tell polkit to look for .policy files in a 
different location than $installationprefix/share/PolicyKit/policy. This issue 
is actually blocking most of the developers from using polkit features, as we 
mostly install trunk stuff in a different prefix than /usr (where polkit is 
reasonably installed). Also please note that we know of many different KDE and 
GNOME setups where the installation is not in the standard /usr prefix, but 
more on a remote share.

I would like to ask David if there's a way for specifying a different include 
path in PolicyKit.conf, just like DBus allows that for policy files and 
activation services, and if it's not possible at the moment, please really 
consider this as a feature for polkit 1.0, it is really easy to include and 
you would make a lot of people happier. I can also try and create a patch 
myself for this, with some decent guidance.

-- 
-------------------

Dario Freddi
KDE Developer
GPG Key Signature: 511A9A3B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/polkit-devel/attachments/20090903/41e24191/attachment.pgp 


More information about the polkit-devel mailing list