[systemd-devel] Error pam_systemd.

Lennart Poettering lennart at poettering.net
Mon Jul 25 11:12:40 PDT 2011


On Mon, 25.07.11 13:27, Stef Bon (stefbon at gmail.com) wrote:

> systemd-logind[1948]: Failed to get system D-Bus connection: Failed to
> connect to socket /var/run/dbus/system_bus_socket: No such file or
> directory
> systemd-logind[1948]: Failed to fully start up daemon: Connection refused
> kernel: [    0.794179] systemd[1]: Cannot add dependency job for unit
> systemd-logind.service, ignoring: Unit dbus.socket failed to load: No
> such file or directory. See system logs and 'systemctl status
> dbus.socket' for details.
> 
> It looks as if the system dbus is not started at this moment. Anyone has a hint?

Is this a self-buitl distro? Make sure you installed the dbus unit files
that are in the dbus tree, when you build dbus. You need to pass
--with-systemdsystemunitdir=/lib/systemd/system or so to configure to
make that happen unless you build dbus after systemd.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list