[systemd-devel] /etc/dbus-1/session-local.conf

Mantas Mikulėnas grawity at gmail.com
Sun Oct 4 21:03:46 PDT 2015


You normally shouldn't need to do this. For user bus, the address is
configured in dbus.socket; for session buses it is passed as command line
option.

On Sun, Oct 4, 2015, 21:40 arnaud gaboury <arnaud.gaboury at gmail.com> wrote:

> As I am trying to improve my knowledges in how dbus work, I discovered
> this file in /etc/dbus-1/session-local.conf
> ------------------------
> <busconfig>
>   <listen>unix:path=/run/user/1000/dbus/user_bus_socket</listen>
> </busconfig>
> --------------------------
>
> I Can't remember editing it, but I must have done it.
>
> I understand it overrides settings in /usr/share/dbus-1/session.conf
>
> In my case, it is correct as my session dbus socket is indeed in the
> above path, thus override
> <listen>unix:tmpdir=/tmp</listen> in /usr/share/dbus-1/session.conf.
>
> Now I am wondering this: I am user 1000 and almost the only one user
> of the machine. But what if another user log in? In this case, the
> path will be somewhere else.
> Does this file recognize environment varaibles like  ${XDG_RUNTIME_DIR } ?
>
> Thank you for tips.
> --
>
> google.com/+arnaudgabourygabx
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20151005/28a71e98/attachment.html>


More information about the systemd-devel mailing list