Abstract unix sockets and session socket address

Alexander Larsson alexl at redhat.com
Tue Dec 16 05:41:26 PST 2014


On tis, 2014-12-16 at 12:19 +0000, Simon McVittie wrote:
> On 16/12/14 09:39, Alexander Larsson wrote:
> > In fact, I would propose that we make this the new default, as its a
> > no-op if XDG_RUNTIME_DIR is not set.
> 
> I would prefer the XDG_RUNTIME_DIR-based bus to be a separate transport
> ("protocol") as I suggested more than a year ago on
> <https://bugs.freedesktop.org/show_bug.cgi?id=61303>. (See
> <https://bugs.freedesktop.org/show_bug.cgi?id=61303#c32> for my reasoning.)
> 
> Unfortunately, that bug seems to be deadlocked, because Lennart strongly
> prefers it to be special hard-coded behaviour for when
> DBUS_SESSION_BUS_ADDRESS is not set (i.e. his suggestion is that there
> is no value for DBUS_SESSION_BUS_ADDRESS that can explicitly select this
> behaviour, other than substituting XDG_RUNTIME_DIR into a template with
> any disallowed characters escaped).

I added a comment in the bug, but that bug is much more about the
connect side of the deal, whereas i'm more interested in the listen
side. i.e. how do you set up a dbus-daemon session that creates a socket
in $XDG_RUNTIME_DIR.




More information about the dbus mailing list