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

Matthias Clasen matthias.clasen at gmail.com
Mon Nov 30 09:42:25 PST 2009


On Mon, Nov 30, 2009 at 12:23 PM, Dario Freddi <drf54321 at gmail.com> wrote:
> David, are there any news on this matter? I would really like to see that in
> polkit-1 final. If you don't have time for this I can come up with a patch
>
> On Sunday 13 September 2009 09:31:13 Thiago Macieira wrote:
>> Em Sábado 12. Setembro 2009, às 22.47.04, David Zeuthen escreveu:
>> > FWIW, this is very similar to /usr/share/dbus-1/system-services since
>> > both directories are security related - it might be good to just do what
>> > D-Bus does for that directory. E.g. if (and only if) D-Bus supports
>> > $XDG_DATA_DIRS for that directory then we should do it as well.
>>
>> Hi David,
>>
>> D-Bus uses $XDG_DATA_DIRS for that already.
>>
>> Please see
>> http://cgit.freedesktop.org/dbus/dbus/tree/dbus/dbus-sysdeps-unix.c#n3708
>>

Not according to the man page.

It states that XDG_DATA_DIRS is only consulted for
<standard_session_servicedirs> not for the system-services directory.
Which makes a lot of sense, considering that XDG_DATA_DIRS is a
per-user envvar, not something set system-wide.


More information about the polkit-devel mailing list