Bug#1077271: systemd broken after 256.4-2 upgrade

Richard B rb-misc at posteo.net
Sat Jul 27 19:16:36 BST 2024


Package: systemd
Version: 256.4-2
Severity: critical
Justification: breaks the whole system

Dear Maintainer,

Upgrading systemd and its dependencies to 256.4-2 on Trixie results in any systemd operation
timing out at 25000ms.  This includes checking service status, suspending, and attempting
to reboot my machine.

* What led up to the situation?

Executing this command:
sudo apt install discover nftables systemd udev


* What exactly did you do (or not do) that was effective (or ineffective)?

Attempted to check status of systemd-networkd, systemd-timesyncd, and other services that
apt listed errors for (all of which resulted in timeouts), attempted to roll systemd back
to 256.2-1 (no longer available in Trixie), and tried to reboot and power off (which also
resulted in timeouts in the CLI.  Gnome shell doesn't display any power options after the
upgrade).

* What was the outcome of this action?

A successful upgrade.

* What outcome did you expect instead?

Here is the output of my upgrade:

sudo apt install discover nftables systemd udev

Upgrading:
  discover      libnftables1       libnss-systemd  libsystemd-shared  libudev1  systemd             systemd-dev   systemd-timesyncd
  libdiscover2  libnss-myhostname  libpam-systemd  libsystemd0        nftables  systemd-cryptsetup  systemd-sysv  udev

Summary:
  Upgrading: 16, Installing: 0, Removing: 0, Not Upgrading: 9
  Download size: 0 B / 9,419 kB
  Space needed: 114 kB / 17.3 GB available

Continue? [Y/n] 
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 227401 files and directories currently installed.)
Preparing to unpack .../0-libnss-systemd_256.4-2_amd64.deb ...
Unpacking libnss-systemd:amd64 (256.4-2) over (256.2-1) ...
Preparing to unpack .../1-systemd-dev_256.4-2_all.deb ...
Unpacking systemd-dev (256.4-2) over (256.2-1) ...
Preparing to unpack .../2-systemd-sysv_256.4-2_amd64.deb ...
Unpacking systemd-sysv (256.4-2) over (256.2-1) ...
Preparing to unpack .../3-libpam-systemd_256.4-2_amd64.deb ...
Unpacking libpam-systemd:amd64 (256.4-2) over (256.2-1) ...
Preparing to unpack .../4-systemd_256.4-2_amd64.deb ...
Unpacking systemd (256.4-2) over (256.2-1) ...
Preparing to unpack .../5-systemd-timesyncd_256.4-2_amd64.deb ...
Unpacking systemd-timesyncd (256.4-2) over (256.2-1) ...
Preparing to unpack .../6-systemd-cryptsetup_256.4-2_amd64.deb ...
Unpacking systemd-cryptsetup (256.4-2) over (256.2-1) ...
Preparing to unpack .../7-libsystemd-shared_256.4-2_amd64.deb ...
Unpacking libsystemd-shared:amd64 (256.4-2) over (256.2-1) ...
Preparing to unpack .../8-libsystemd0_256.4-2_amd64.deb ...
Unpacking libsystemd0:amd64 (256.4-2) over (256.2-1) ...
Setting up libsystemd0:amd64 (256.4-2) ...
...
Setting up systemd-dev (256.4-2) ...
Setting up libsystemd-shared:amd64 (256.4-2) ...
Setting up libnss-myhostname:amd64 (256.4-2) ...
Setting up discover (2.1.2-10.1) ...
Setting up systemd (256.4-2) ...
/usr/lib/tmpfiles.d/legacy.conf:13: Duplicate line for path "/run/lock", ignoring.
Failed to list units: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
Failed to expand names: Connection timed out
Failed to try-restart systemd-networkd.service: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
See system logs and 'systemctl status systemd-networkd.service' for details.
Failed to try-restart systemd-journald.service: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
See system logs and 'systemctl status systemd-journald.service' for details.
Setting up systemd-cryptsetup (256.4-2) ...
Setting up systemd-timesyncd (256.4-2) ...
Reload daemon failed: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
Failed to get unit file state for systemd-time-wait-sync.service: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
Failed to retrieve unit state: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it.
Failed to get unit file state for systemd-timesyncd.service: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
Failed to retrieve unit state: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
systemd-timesyncd.service is a disabled or a static unit not running, not starting it.
Setting up udev (256.4-2) ...
Reload daemon failed: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
Failed to get unit file state for systemd-udevd.service: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
Setting up systemd-sysv (256.4-2) ...
Setting up libnss-systemd:amd64 (256.4-2) ...
Setting up libpam-systemd:amd64 (256.4-2) ...
Processing triggers for libc-bin (2.39-4) ...
Processing triggers for man-db (2.12.1-2) ...
Processing triggers for dbus (1.14.10-4+b1) ...
Processing triggers for shared-mime-info (2.4-5) ...
Warning: program compiled against libxml 212 using older 209
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.9.10-amd64
W: Possible missing firmware /lib/firmware/amdgpu/ip_discovery.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega10_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_14_0_3_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_14_0_2_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_0_toc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vcn_5_0_0.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/smu_14_0_2.bin for module amdgpu
Error: Timeout was reached


This is the output of trying to reboot and shut down:

sudo reboot 
Failed to set wall message, ignoring: Connection timed out
Call to Reboot failed: Connection timed out
Failed to open /run/initctl: No such device or address
Failed to talk to init daemon: Connection timed out

sudo shutdown -h now
Call to PowerOff failed: Connection timed out
Failed to open /run/initctl: No such device or address
Failed to talk to init daemon: Connection timed out


Here is the output of typical systemctl commands, showing that it cannot complete general
commands:

systemd-analyze dump
Failed to call DumpByFileDescriptor: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)

systemctl status systemd-networkd
Failed to get properties: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)

systemctl status networking
Failed to get properties: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)

sudo systemctl restart syncthing
Failed to restart syncthing.service: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
See system logs and 'systemctl status syncthing.service' for details.

systemctl status syncthing
Failed to get properties: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)


jouranctl works normally, and reported this around the time of the upgrade:

Jul 27 11:38:32 fw13 sudo[36306]:    richard : TTY=pts/0 ; PWD=/home/richard ; USER=root ; COMMAND=/usr/bin/apt install discover nftables systemd udev
Jul 27 11:38:32 fw13 sudo[36306]: pam_unix(sudo:session): session opened for user root(uid=0) by richard(uid=1000)
Jul 27 11:38:41 fw13 dbus-daemon[1122]: [system] Reloaded configuration
Jul 27 11:38:41 fw13 gvfsd[5800]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 cups-browsed[1293]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 dbus-daemon[1122]: [system] Reloaded configuration
Jul 27 11:38:41 fw13 cups-browsed[1293]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 gvfsd[5800]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 dbus-daemon[1122]: [system] Reloaded configuration
Jul 27 11:38:41 fw13 gvfsd[5800]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 cups-browsed[1293]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 dbus-daemon[1122]: [system] Reloaded configuration
Jul 27 11:38:41 fw13 gvfsd[5800]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 cups-browsed[1293]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 dbus-daemon[1122]: [system] Reloaded configuration
Jul 27 11:38:41 fw13 gvfsd[5800]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 cups-browsed[1293]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 dbus-daemon[1122]: [system] Reloaded configuration
Jul 27 11:38:41 fw13 gvfsd[5800]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 cups-browsed[1293]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 polkitd[1129]: Reloading rules
Jul 27 11:38:41 fw13 polkitd[1129]: Collecting garbage unconditionally...
Jul 27 11:38:41 fw13 polkitd[1129]: Loading rules from directory /etc/polkit-1/rules.d
Jul 27 11:38:41 fw13 polkitd[1129]: Loading rules from directory /usr/share/polkit-1/rules.d
Jul 27 11:38:41 fw13 polkitd[1129]: Finished loading, compiling and executing 13 rules
Jul 27 11:38:41 fw13 polkitd[1129]: Reloading rules
Jul 27 11:38:41 fw13 polkitd[1129]: Collecting garbage unconditionally...
Jul 27 11:38:41 fw13 polkitd[1129]: Loading rules from directory /etc/polkit-1/rules.d
Jul 27 11:38:41 fw13 polkitd[1129]: Loading rules from directory /usr/share/polkit-1/rules.d
Jul 27 11:38:41 fw13 polkitd[1129]: Finished loading, compiling and executing 13 rules
Jul 27 11:38:41 fw13 dbus-daemon[2225]: [session uid=1000 pid=2225] Reloaded configuration
Jul 27 11:38:41 fw13 dbus-daemon[1122]: [system] Reloaded configuration
Jul 27 11:38:41 fw13 gvfsd[5800]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 cups-browsed[1293]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 dbus-daemon[1122]: [system] Reloaded configuration
Jul 27 11:38:41 fw13 cups-browsed[1293]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 gvfsd[5800]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 dbus-daemon[2225]: [session uid=1000 pid=2225] Reloaded configuration
Jul 27 11:38:41 fw13 dbus-daemon[1122]: [system] Reloaded configuration
Jul 27 11:38:41 fw13 cups-browsed[1293]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 gvfsd[5800]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 dbus-daemon[1122]: [system] Reloaded configuration
Jul 27 11:38:41 fw13 gvfsd[5800]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 cups-browsed[1293]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 dbus-daemon[1122]: [system] Reloaded configuration
Jul 27 11:38:41 fw13 gvfsd[5800]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 cups-browsed[1293]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 dbus-daemon[1122]: [system] Reloaded configuration
Jul 27 11:38:41 fw13 gvfsd[5800]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:41 fw13 cups-browsed[1293]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:42 fw13 dbus-daemon[1122]: [system] Reloaded configuration
Jul 27 11:38:42 fw13 cups-browsed[1293]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:42 fw13 gvfsd[5800]: WARNING: Unhandled message: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=ActivatableServicesChanged
Jul 27 11:38:43 fw13 systemd[1]: Reload requested from client PID 36819 ('systemctl') (unit user at 1000.service)...
Jul 27 11:38:43 fw13 systemd[1]: Reloading...
...
Jul 27 11:40:13 fw13 systemd[1]: Failed to fork off sandboxing environment for executing generators: Protocol error
Jul 27 11:40:13 fw13 systemd[1]: Reloading finished in 90280 ms.
Jul 27 11:40:13 fw13 systemd[1]: man-db.service - Daily man-db regeneration was skipped because of an unmet condition check (ConditionACPower=true).
Jul 27 11:40:14 fw13 systemd[1]: Reexecution requested from client PID 36976 ('systemctl') (unit user at 1000.service)...
Jul 27 11:40:14 fw13 systemd[1]: Reexecuting.
Jul 27 11:40:14 fw13 systemd[1]: systemd 256.4-2 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -ID>
Jul 27 11:40:14 fw13 systemd[1]: Detected architecture x86-64.
Jul 27 11:40:14 fw13 kernel: Lockdown: systemd: /dev/mem,kmem,port is restricted; see man kernel_lockdown.7
Jul 27 11:40:14 fw13 systemd[1]: bpf-restrict-fs: LSM BPF program attached
...
Jul 27 11:40:48 fw13 systemd[2179]: Started vte-spawn-5772216b-d2f3-4a77-9779-3b4b02c8d256.scope - VTE child process 37109 launched by gnome-terminal-server process 35840.
Jul 27 11:41:16 fw13 systemd[2179]: Started vte-spawn-5dfbb6d9-ab13-41cf-a4bd-3cec62495100.scope - VTE child process 37131 launched by gnome-terminal-server process 35840.
Jul 27 11:41:44 fw13 systemd[1]: Failed to fork off sandboxing environment for executing generators: Protocol error
Jul 27 11:41:45 fw13 systemd[1]: Freezing execution.
Jul 27 11:42:10 fw13 dbus-daemon[1122]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
Jul 27 11:42:35 fw13 dbus-daemon[1122]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
Jul 27 11:42:50 fw13 systemd[2179]: Started vte-spawn-9eba411c-e1b9-413b-8197-2e66b99267e2.scope - VTE child process 37168 launched by gnome-terminal-server process 35840.
Jul 27 11:43:00 fw13 dbus-daemon[1122]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
...
Jul 27 11:43:25 fw13 dbus-daemon[1122]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
Jul 27 11:43:25 fw13 systemd-logind[1136]: Failed to get load state of suspend.target: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
Jul 27 11:43:50 fw13 dbus-daemon[1122]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
Jul 27 11:43:50 fw13 systemd-logind[1136]: Failed to get load state of poweroff.target: Connection timed out
Jul 27 11:43:50 fw13 gnome-session[2360]: gnome-session-binary[2360]: WARNING: Calling CanPowerOff failed. Check that logind is properly installed and pam_systemd is getting used at login.
Jul 27 11:43:50 fw13 gnome-session-binary[2360]: WARNING: Calling CanPowerOff failed. Check that logind is properly installed and pam_systemd is getting used at login.


Please let me know if any other info would be helpful.

Richard


-- Package-specific info:

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.9.10-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages systemd depends on:
ii  libacl1            2.3.2-2
ii  libapparmor1       3.1.7-1+b1
ii  libaudit1          1:3.1.2-4+b1
ii  libblkid1          2.40.2-1
ii  libc6              2.39-4
ii  libcap2            1:2.66-5
ii  libmount1          2.40.2-1
ii  libpam0g           1.5.3-7
ii  libseccomp2        2.5.5-1+b1
ii  libselinux1        3.5-2+b3
ii  libssl3t64         3.2.2-1
ii  libsystemd-shared  256.4-2
ii  libsystemd0        256.4-2
ii  mount              2.40.2-1

Versions of packages systemd recommends:
ii  dbus [default-dbus-system-bus]   1.14.10-4+b1
ii  libzstd1                         1.5.6+dfsg-1
ii  linux-sysctl-defaults            4.10.1
ii  systemd-cryptsetup               256.4-2
ii  systemd-timesyncd [time-daemon]  256.4-2

Versions of packages systemd suggests:
ii  libcryptsetup12                                 2:2.7.2-2
ii  libgcrypt20                                     1.11.0-2
ii  libidn2-0                                       2.3.7-2
ii  liblz4-1                                        1.9.4-2
ii  liblzma5                                        5.6.2-2
ii  libtss2-rc0t64                                  4.0.1-7.2
ii  libtss2-tcti-device0t64 [libtss2-tcti-device0]  4.0.1-7.2
ii  polkitd                                         124-3
pn  systemd-boot                                    <none>
pn  systemd-container                               <none>
pn  systemd-homed                                   <none>
pn  systemd-repart                                  <none>
pn  systemd-resolved                                <none>
pn  systemd-userdbd                                 <none>

Versions of packages systemd is related to:
ii  dbus-user-session  1.14.10-4+b1
pn  dracut             <none>
ii  initramfs-tools    0.142
ii  libnss-systemd     256.4-2
ii  libpam-systemd     256.4-2
ii  udev               256.4-2

-- no debconf information



More information about the Pkg-systemd-maintainers mailing list