While upgrading a couple of my test Rawhide VMs to the latest systemd build [0] I noticed that the user dbus session dies during the upgrade: # rpm -q systemd systemd-255.5-1.fc41.x86_64 # journalctl --cursor-file=/tmp/cursor -n0 -q # dnf upgrade systemd Updating and loading repositories: Beaker Client - Fedorarawhide 100% | 25.1 KiB/s | 4.6 KiB | 00m00s Copr repo for qa-tools owned by lpol 100% | 1.5 MiB/s | 68.9 KiB | 00m00s Beaker harness 100% | 200.8 KiB/s | 9.0 KiB | 00m00s Fedora rawhide openh264 (From Cisco) - x86_64 100% | 2.9 KiB/s | 4.8 KiB | 00m02s Fedora - Rawhide - Developmental packages for the next Fedora release 100% | 8.7 MiB/s | 20.6 MiB | 00m02s Repositories loaded. Package Arch Version Repository Size Upgrading: systemd x86_64 256~rc1^20240509git1781de1-2.fc41 rawhide 15.7 MiB replacing systemd x86_64 255.5-1.fc41 updates 14.6 MiB systemd-libs x86_64 256~rc1^20240509git1781de1-2.fc41 rawhide 2.0 MiB replacing systemd-libs x86_64 255.5-1.fc41 updates 1.9 MiB systemd-networkd x86_64 256~rc1^20240509git1781de1-2.fc41 rawhide 2.1 MiB replacing systemd-networkd x86_64 255.5-1.fc41 updates 2.0 MiB systemd-pam x86_64 256~rc1^20240509git1781de1-2.fc41 rawhide 1.1 MiB replacing systemd-pam x86_64 255.5-1.fc41 updates 1.0 MiB systemd-resolved x86_64 256~rc1^20240509git1781de1-2.fc41 rawhide 667.1 KiB replacing systemd-resolved x86_64 255.5-1.fc41 updates 638.4 KiB systemd-udev x86_64 256~rc1^20240509git1781de1-2.fc41 rawhide 11.7 MiB replacing systemd-udev x86_64 255.5-1.fc41 updates 11.5 MiB Transaction Summary: Upgrading: 6 packages Replacing: 6 packages ... # journalctl -o short-monotonic --no-hostname --cursor-file=/tmp/cursor ... [65859.779939] systemd[1]: Reexecuting requested from client PID 2348 ('systemctl') (unit session-4.scope)... [65859.783141] systemd[1]: Reexecuting. [65859.844531] audit: BPF prog-id=29 op=UNLOAD [65859.875868] systemd[1]: systemd 256~rc1^20240509git1781de1-2.fc41 running in system mode (+PAM +AUDIT +SELINUX -APPARMOR +IMA +SMACK +SECCOMP -GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN -IPT> [65859.875932] systemd[1]: Detected virtualization kvm. [65859.875945] systemd[1]: Detected architecture x86-64. ... [65860.682906] systemd[1973]: Created slice session.slice - User Core Session Slice. [65860.685684] systemd[2417]: /usr/lib/systemd/systemd-executor (deleted): error while loading shared libraries: libsystemd-core-255.5-1.fc41.so: cannot open shared object file: No such file or directory [65860.689210] systemd[1973]: Starting dbus-broker.service - D-Bus User Message Bus... [65860.689476] systemd[1973]: dbus-broker.service: Main process exited, code=exited, status=127/n/a [65860.689670] systemd[1973]: dbus-broker.service: Failed with result 'exit-code'. [65860.689907] systemd[1973]: Failed to start dbus-broker.service - D-Bus User Message Bus. [65860.691601] systemd[2418]: /usr/lib/systemd/systemd-executor (deleted): error while loading shared libraries: libsystemd-core-255.5-1.fc41.so: cannot open shared object file: No such file or directory [65860.691889] systemd[1973]: Starting dbus-broker.service - D-Bus User Message Bus... [65860.692133] systemd[1973]: dbus-broker.service: Main process exited, code=exited, status=127/n/a [65860.692245] systemd[1973]: dbus-broker.service: Failed with result 'exit-code'. [65860.692546] systemd[1973]: Failed to start dbus-broker.service - D-Bus User Message Bus. [65860.693735] systemd[2419]: /usr/lib/systemd/systemd-executor (deleted): error while loading shared libraries: libsystemd-core-255.5-1.fc41.so: cannot open shared object file: No such file or directory [65860.693956] systemd[1973]: Starting dbus-broker.service - D-Bus User Message Bus... [65860.694072] systemd[1973]: dbus-broker.service: Main process exited, code=exited, status=127/n/a [65860.694156] systemd[1973]: dbus-broker.service: Failed with result 'exit-code'. [65860.694394] systemd[1973]: Failed to start dbus-broker.service - D-Bus User Message Bus. [65860.695430] systemd[2420]: /usr/lib/systemd/systemd-executor (deleted): error while loading shared libraries: libsystemd-core-255.5-1.fc41.so: cannot open shared object file: No such file or directory [65860.695636] systemd[1973]: Starting dbus-broker.service - D-Bus User Message Bus... [65860.695697] systemd[1973]: dbus-broker.service: Main process exited, code=exited, status=127/n/a [65860.695793] systemd[1973]: dbus-broker.service: Failed with result 'exit-code'. [65860.696054] systemd[1973]: Failed to start dbus-broker.service - D-Bus User Message Bus. [65860.697080] systemd[2421]: /usr/lib/systemd/systemd-executor (deleted): error while loading shared libraries: libsystemd-core-255.5-1.fc41.so: cannot open shared object file: No such file or directory [65860.696963] systemd[1973]: Starting dbus-broker.service - D-Bus User Message Bus... [65860.697263] systemd[1973]: dbus-broker.service: Main process exited, code=exited, status=127/n/a [65860.697344] systemd[1973]: dbus-broker.service: Failed with result 'exit-code'. [65860.697507] systemd[1973]: Failed to start dbus-broker.service - D-Bus User Message Bus. [65860.697701] systemd[1973]: dbus-broker.service: Start request repeated too quickly. [65860.697720] systemd[1973]: dbus-broker.service: Failed with result 'exit-code'. [65860.697751] systemd[1973]: Failed to start dbus-broker.service - D-Bus User Message Bus. [65860.697810] systemd[1973]: dbus.socket: Failed with result 'service-start-limit-hit'. # systemctl --user status dbus-broker Warning: The unit file, source configuration file or drop-ins of dbus-broker.service changed on disk. Run 'systemctl --user daemon-reload' to reload units. × dbus-broker.service - D-Bus User Message Bus Loaded: loaded (/usr/lib/systemd/user/dbus-broker.service; enabled; preset: enabled) Drop-In: /usr/lib/systemd/user/service.d └─10-timeout-abort.conf Active: failed (Result: exit-code) since Wed 2024-05-15 05:33:25 EDT; 2min 13s ago Invocation: 7a968b77b67b4520aa847c56d90c2de9 TriggeredBy: × dbus.socket Docs: man:dbus-broker-launch(1) Process: 2421 ExecStart=/usr/bin/dbus-broker-launch --scope user (code=exited, status=127) Main PID: 2421 (code=exited, status=127) CPU: 0 May 15 05:33:25 xxx systemd[1973]: Starting dbus-broker.service - D-Bus User Message Bus... May 15 05:33:25 xxx systemd[1973]: dbus-broker.service: Main process exited, code=exited, status=127/n/a May 15 05:33:25 xxx systemd[1973]: dbus-broker.service: Failed with result 'exit-code'. May 15 05:33:25 xxx systemd[1973]: Failed to start dbus-broker.service - D-Bus User Message Bus. May 15 05:33:25 xxx systemd[1973]: dbus-broker.service: Start request repeated too quickly. May 15 05:33:25 xxx systemd[1973]: dbus-broker.service: Failed with result 'exit-code'. May 15 05:33:25 xxx systemd[1973]: Failed to start dbus-broker.service - D-Bus User Message Bus. [0] https://bodhi.fedoraproject.org/updates/FEDORA-2024-640fb99805 Reproducible: Always
We had a long discussion about this upstream (also see https://github.com/systemd/systemd/pull/33279). This does not affect Debian and Arch because of some differences in how upgrades are done, so the issue was treated as not important. We'll need to figure out some fix for this.
I forgot to update the status here. Since systemd-256.2-1.fc41 we link systemd-executor statically, so I'm pretty sure this is fixed in rawhide.