[systemd-devel] [PATCH 1/2] manager: connect to private bus even if $DBUS_SESSION_BUS_ADDRESS is not set

Colin Walters walters at verbum.org
Sun Oct 13 20:02:41 PDT 2013


On Wed, 2013-10-09 at 17:33 +0300, Mantas Mikulėnas wrote:
> On Wed, Oct 9, 2013 at 3:59 PM, Colin Walters <walters at verbum.org> wrote:
> > Your patch seems to be at odds with the commit message; since
> > DBUS_SESSION_BUS_ADDRESS won't be set for the user bus, we won't
> > attempt a connection, right?
> 
> In the current code? Yes, but then it won't attempt to set up the
> *private* socket either ($XDG_RUNTIME_DIR/systemd/private), because
> bus_init() is skipped completely.

Ok, I see.  Makes sense.  Pushed, thanks!




More information about the systemd-devel mailing list