#1108330 pam_systemd(sshd:session): Failed to create session: Failed to activate service 'org.freedesktop.login1'

Package:
dbus
Source:
dbus
Description:
simple interprocess messaging system (system message bus)
Submitter:
Russell Coker
Date:
2025-06-26 09:25:02 UTC
Severity:
normal
#1108330#5
Date:
2025-06-26 05:10:55 UTC
From:
To:
pam_systemd(sshd:session): Failed to create session: Failed to activate service 'org.freedesktop.login1': timed out (service_start_timeout=25000ms)

Last night logging in to one of my servers started taking a long time with
messages like the above in syslog.  All the google results for this say to
restart systemd-logind which has no affect.

I've run "systemctl daemon-reexec", I've restarted all daemons including dbus
(which required restarting systemd-logind and sshd afterwards) and nothing
fixes it.

I think this is a bug in Debian, the system should not get itself into this
state and if it does it should be possible to get it back into a correct state
without rebooting.

#1108330#10
Date:
2025-06-26 09:24:12 UTC
From:
To:
Control: reassign -1 dbus 1.16.2-2
activate service 'org.freedesktop.login1': timed out
(service_start_timeout=25000ms)
with
say to

If your system d-bus session is not working, then pam won't work
either, but it's not pam's fault. You need to debug why d-bus is not
working. Reassigning to the dbus package.