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

Russell Coker russell at coker.com.au
Thu Jun 26 06:10:55 BST 2025


Package: libpam-systemd
Version: 257.6-1
Severity: normal

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.

-- System Information:
Debian Release: 13.0
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.32-amd64 (SMP w/44 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages libpam-systemd depends on:
ii  dbus [default-dbus-system-bus]  1.16.2-2
ii  libc6                           2.41-9
ii  libcap2                         1:2.75-8
ii  libpam-runtime                  1.7.0-3
ii  libpam0g                        1.7.0-3
ii  systemd                         257.6-1
ii  systemd-sysv                    257.6-1

Versions of packages libpam-systemd recommends:
ii  dbus-user-session  1.16.2-2

Versions of packages libpam-systemd suggests:
ii  libcryptsetup12  2:2.7.5-2
ii  libidn2-0        2.3.8-2
ii  libp11-kit0      0.25.5-3
ii  libtss2-rc0t64   4.1.3-1.2

-- debconf-show failed



More information about the Pkg-systemd-maintainers mailing list