I'm facing this error causing a 25 second timeout on every login. I've searched and attempted multiple suggested troubleshooting steps, but none have resolved the issue:
The error:
Nov 06 12:57:03 phantom dbus-daemon[1718]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms) The symptoms are a 25s timeout on every new login or sudo.
What I've tried:
This ubuntu bug suggests increasing verbosity via systemctl log-level debug. I then monitored logs via journalctl -b -f while reproducing the issue, but I couldn't find any new meaningful logs:
06 13:03:04 phantom sshd[2525474]: pam_afs_session(sshd:setcred): pam_sm_setcred: entry (establish) Nov 06 13:03:04 phantom sshd[2525474]: pam_afs_session(sshd:setcred): skipping tokens, no Kerberos ticket cache Nov 06 13:03:04 phantom sshd[2525474]: pam_afs_session(sshd:setcred): pam_sm_setcred: exit (success) Nov 06 13:03:04 phantom sshd[2525474]: pam_unix(sshd:session): session opened for user pixel8(uid=1003) by (uid=0) (start big time gap...) ^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[ A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[ [A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^ [[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[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]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms) Nov 06 13:03:19 phantom systemd-logind[1731]: Failed to start user service '[email protected]', ignoring: Failed to activate service 'org.freedesktop.systemd1': timed out (ser vice_start_timeout=25000ms) Nov 06 13:03:44 phantom dbus-daemon[1718]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms) Nov 06 13:03:44 phantom systemd-logind[1731]: Failed to start session scope session-4291.scope: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start _timeout=25000ms) Nov 06 13:03:44 phantom sshd[2525474]: pam_systemd(sshd:session): Failed to create session: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_tim eout=25000ms) I tried checking org.freedesktop.systemd1 in busctl according to this post, it shows as "activateable", therefore inactive:
$ busctl NAME PID PROCESS USER CONNECTION UNIT SESSION DESCRIPTION :1.0 1732 systemd-machine root :1.0 systemd-machined.service - - :1.1 1731 systemd-logind root :1.1 systemd-logind.service - - :1.11 1816 ModemManager root :1.11 ModemManager.service - - :1.144651 463480 xdg-desktop-por ealfonso :1.144651 session-2.scope 2 - :1.144652 463460 xdg-desktop-por ealfonso :1.144652 session-2.scope 2 - :1.144653 463516 gnome-keyring-d ealfonso :1.144653 session-2.scope 2 - :1.146106 561239 pipewire ealfonso :1.146106 [email protected] - - :1.146107 561246 wireplumber ealfonso :1.146107 [email protected] - - :1.15 1994 upowerd root :1.15 upower.service - - :1.150973 854735 emacs ealfonso :1.150973 session-2.scope 2 - :1.151258 886628 emacs ealfonso :1.151258 session-2.scope 2 - :1.156303 3181508 zathura ealfonso :1.156303 session-2.scope 2 - :1.156389 1384977 wpa_supplicant root :1.156389 wpa_supplicant.service - - :1.156448 1391442 udisksd root :1.156448 udisks2.service - - :1.156461 1392279 snapd root :1.156461 snapd.service - - :1.163808 1989241 emacs ealfonso :1.163808 session-2.scope 2 - :1.164285 2035313 emacs ealfonso :1.164285 session-2.scope 2 - :1.176600 3022601 ipp-usb root :1.176600 ipp-usb.service - - :1.18 2231 colord colord :1.18 colord.service - - :1.181 9804 systemd ealfonso :1.181 [email protected] - - :1.183 9824 pipewire-pulse ealfonso :1.183 [email protected] - - :1.185 9850 rtkit-daemon root :1.185 rtkit-daemon.service - - :1.19 2184 unattended-upgr root :1.19 unattended-upgrades.service - - :1.2 1716 bluetoothd root :1.2 bluetooth.service - - :1.240262 4122447 cupsd root :1.240262 cups.service - - :1.240263 4122454 cups-browsed root :1.240263 cups-browsed.service - - :1.240264 4122454 cups-browsed root :1.240264 cups-browsed.service - - :1.240267 4122459 dbus lp :1.240267 cups.service - - :1.24486 2097026 gnome-keyring-d ealfonso :1.24486 [email protected] - - :1.248447 660771 chromium ealfonso :1.248447 session-2.scope 2 - :1.264308 2527572 systemctl root :1.264308 session-2.scope 2 - :1.264312 2527676 busctl ealfonso :1.264312 session-2.scope 2 - :1.3 1715 avahi-daemon avahi :1.3 avahi-daemon.service - - :1.4 1724 polkitd polkitd :1.4 polkit.service - - :1.47641 4185567 Xorg root :1.47641 session-2.scope 2 - :1.48198 43832 emacs ealfonso :1.48198 session-2.scope 2 - :1.5 1727 power-profiles- root :1.5 power-profiles-daemon.service - - :1.566 36827 gvfs-udisks2-vo ealfonso :1.566 [email protected] - - :1.570 36909 gvfsd-dnssd ealfonso :1.570 [email protected] - - :1.6 1713 accounts-daemon root :1.6 accounts-daemon.service - - :1.83445 3315371 emacs ealfonso :1.83445 session-2.scope 2 - com.ubuntu.SoftwareProperties - - - (activatable) - - - fi.w1.wpa_supplicant1 1384977 wpa_supplicant root :1.156389 wpa_supplicant.service - - net.hadess.PowerProfiles 1727 power-profiles- root :1.5 power-profiles-daemon.service - - org.bluez 1716 bluetoothd root :1.2 bluetooth.service - - org.freedesktop.Accounts 1713 accounts-daemon root :1.6 accounts-daemon.service - - org.freedesktop.Avahi 1715 avahi-daemon avahi :1.3 avahi-daemon.service - - org.freedesktop.ColorManager 2231 colord colord :1.18 colord.service - - org.freedesktop.DBus 1 systemd root - init.scope - - org.freedesktop.GeoClue2 - - - (activatable) - - - org.freedesktop.ModemManager1 1816 ModemManager root :1.11 ModemManager.service - - org.freedesktop.PackageKit - - - (activatable) - - - org.freedesktop.PolicyKit1 1724 polkitd polkitd :1.4 polkit.service - - org.freedesktop.RealtimeKit1 9850 rtkit-daemon root :1.185 rtkit-daemon.service - - org.freedesktop.UDisks2 1391442 udisksd root :1.156448 udisks2.service - - org.freedesktop.UPower 1994 upowerd root :1.15 upower.service - - org.freedesktop.hostname1 - - - (activatable) - - - org.freedesktop.import1 - - - (activatable) - - - org.freedesktop.locale1 - - - (activatable) - - - org.freedesktop.login1 1731 systemd-logind root :1.1 systemd-logind.service - - org.freedesktop.machine1 1732 systemd-machine root :1.0 systemd-machined.service - - org.freedesktop.network1 - - - (activatable) - - - org.freedesktop.nm_dispatcher - - - (activatable) - - - org.freedesktop.nm_priv_helper - - - (activatable) - - - org.freedesktop.portable1 - - - (activatable) - - - org.freedesktop.realmd - - - (activatable) - - - org.freedesktop.systemd1 - - - (activatable) - - - org.freedesktop.timedate1 - - - (activatable) - - - org.libvirt - - - (activatable) - - - org.opensuse.CupsPkHelper.Mechanism - - - (activatable) - - - The top answer suggests calling systemctl daemon-reexec or sudo kill 1. I tried both but the service was still in the same activatable state according to busctl.
The top answer suggests checking ram, I seem to have plenty:
$ free -h total used free shared buff/cache available Mem: 62Gi 24Gi 17Gi 1.2Gi 22Gi 37Gi Swap: 10Gi 3.9Gi 7.0Gi $ busctl tree org.freedesktop.systemd1 Failed to introspect object / of service org.freedesktop.systemd1: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms) No objects discovered. The answer in this post suggests checking for disk usage, but my disks are not full:
█[phantom][130]$ df | grep -v loop df: /tmp/.mount_CrealiATmbee: Transport endpoint is not connected df: /tmp/.mount_CrealiagiqZi: Transport endpoint is not connected Filesystem 1K-blocks Used Available Use% Mounted on udev 32785700 0 32785700 0% /dev tmpfs 6566180 2912 6563268 1% /run /dev/mapper/phantom--vg-root 227625420 176817524 39172392 82% / tmpfs 32830896 966540 31864356 3% /dev/shm tmpfs 5120 16 5104 1% /run/lock /dev/sda2 466026 283815 157226 65% /boot /dev/sda1 523244 5984 517260 2% /boot/efi AFS 2147483647 0 2147483647 0% /afs tmpfs 6566176 108 6566068 1% /run/user/1000 /dev/sdb1 479600448 62969472 392195316 14% /disk2 █[phantom][0]$ Other posts suggest checking the output of sudo systemctl status -l dbus-org.freedesktop.login1.service, it is the same as above.
sudo systemctl status -l dbus-org.freedesktop.login1.service Failed to get properties: Failed to activate service 'org.freedesktop.systemd1': timed out (service_star> Other posts suggests upgrading the system and the dbus package, but the problem persisted after the upgrade.
Yet another post suggests restarting the systemd-logind, but this fails for me:
$ sudo systemctl restart systemd-logind Failed to restart systemd-logind.service: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms) See system logs and 'systemctl status systemd-logind.service' for details. █[phantom][1]$ sudo systemctl status systemd-logind.service The Google AI answer suggests that there may be too many sessions, but I only seem to have one session according to loginctl:
$ sudo loginctl list-sessions SESSION UID USER SEAT TTY 2 1000 ealfonso seat0 tty2 1 sessions listed. How can I find out the real reason this org.freedesktop.systemd1 service is timing out? Since I'm able to log in normally after the timeout, is the service really needed? If not, how can it be disabled?
I noticed these interesting error messages that were being logged in a terminal window. One such message says systemd[1]: Freezing execution, which seems to indicate that process 1 froze itself to avoid crashing, as grawity's answer explains:
█[phantom][~][0]$ Message from syslogd@phantom at Nov 3 14:12:59 ... kernel:[1830586.685525] systemd[1]: segfault at c ip 00007f6e190a3d89 sp 00007ffcdf3693a0 error 4 in libsystemd-core-252.so[7f6e18fce000+e5000] likely on CPU 6 (core 12, socket 0) Message from syslogd@phantom at Nov 3 14:12:59 ... kernel:[1830586.685545] Code: 48 8d 35 a6 e6 04 00 48 8d 3d 55 08 05 00 e8 be d9 f2 ff e8 59 ea f2 ff 66 0f 1f 84 00 00 00 00 00 53 48 85 ff 74 6a 48 89 fb <48> 8b 7f 08 48 85 ff 74 36 e8 99 b9 f2 ff 48 8b 43 10 48 8b 53 08 Broadcast message from systemd-journald@phantom (Mon 2025-11-03 14:12:59 EST): systemd[1]: Caught <SEGV> from PID 12. Message from syslogd@phantom at Nov 3 14:12:59 ... systemd[1]: Caught <SEGV> from PID 12. Broadcast message from systemd-journald@phantom (Mon 2025-11-03 14:12:59 EST): systemd[1]: Caught <SEGV>, dumped core as pid 497578. Message from syslogd@phantom at Nov 3 14:12:59 ... systemd[1]: Caught <SEGV>, dumped core as pid 497578. Broadcast message from systemd-journald@phantom (Mon 2025-11-03 14:12:59 EST): systemd[1]: Freezing execution. Message from syslogd@phantom at Nov 3 14:12:59 ... systemd[1]: Freezing execution. █[phantom][~][0]$
ps 12) if you have not yet rebooted? Is it a[kworker]of some kind or is it a user space process? At first glance it seems a bit odd for SIGSEGV to have a sender PID..journalctl -blogs, around first occurrence of "freezing" I seesystemd[1]: Reloading.,systemd[1]: Caught <ABRT> from our own process.,Caught <ABRT>, dumped core as pid 420191.Freezing execution.I tried to look for the core dump under/var/lib/systemd/coredump/but it is empty. I tried installing thesystemd-coredumppackage, but I'm not sure that it succeeded. How can I find the systemd core dump?coredumpctlis the primary tool. But checksysctl kernel.core_patternto verify that coredumps were actually redirected to systemd-coredump. If they were not, then kernel.core_pattern will show where they get dumped directly. The crashing program has no control over it; /var/lib/systemd is just "where systemd-coredump gathers all dumps", not "where systemd puts its own dumps".coredumpctl list Failed to check if any [email protected] units are running: Connection timed out No coredumps found.I did find/lib/systemd/systemd-coredump, but how do I analyze it? Everything points tocoredumpctlbut it doesn't list any coredumps. Is there a gdb command line I can use to inspect this core dump? I'd like to add some details if I am to make a bug report.