[Assist] systemctl --user status Failed to get D-Bus connection: Connection refused

Luke T. Shumaker lukeshu at sbcglobal.net
Fri Apr 4 04:41:48 GMT 2014


At Thu, 03 Apr 2014 23:27:07 -0400,
Luke T. Shumaker wrote:
> I believe you are experiencing a bug in systemd where
> /run/user/<your_uid>/systemd/ (or, equivalently,
> $XDG_RUNTIME_DIR/systemd/ ) is not being created on login.

Specifically, ${XDG_RUNTIME_DIR}/systemd/private . It also creates
/notify, but I wasn't sure which one was needed for this, so I just
mentioned the directory (when I have it not show up, the whole
systemd directory is missing)

"private" should be created by systemd's
src/core/dbus.c:bus_init_private(), but I imagine the problem actually
comes from higher up.

Unless I missed something, there are no relevent commits since release
v212, no relevent emails on the mailing list, and no relevent
bug-reports on bugzilla.  If you like, I encourage you to report this
bug with systemd.  If you don't, I'll report it this weekend after
digging in to the cause a bit more.

Happy hacking,
~ Luke Shumaker


More information about the Assist mailing list