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

Dario Freddi drf54321 at gmail.com
Mon Nov 30 10:13:26 PST 2009


On Monday 30 November 2009 18:42:25 Matthias Clasen wrote:
> 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#n370
> >>8
> 
> Not according to the man page.

The code seems to state otherwise (ccing Thiago, since he's the one who found 
out). I will try testing later and see if it actually works.

> 
> 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.
> 

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

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


More information about the polkit-devel mailing list