[systemd-devel] Error pam_systemd.

Stef Bon stefbon at gmail.com
Mon Jul 25 14:39:51 PDT 2011


Yes,

I've installed it on a LinuxFromScratch system, I've mentioned earleir.

I've solved it, indeed the rebuild of dbus with the right parameter
was required. That solved it.

Stef Bon

2011/7/25 Lennart Poettering <lennart at poettering.net>:
> 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