You are not logged in.
Hi,
A few weeks ago I started experiencing systemd reloads which cause restart of services including unmounting volumes and user logout.
It seems the trigger is after pacman updates (which triggers systemd reload) or when restarting services.
> systemctl list-dependencies
default.target
○ ├─display-manager.service
○ ├─fanctl.service
● ├─podman-libretranslate.service
● ├─power-profiles-daemon.service
○ └─multi-user.target
● ├─apparmor.service
● ├─cpupower.service
● ├─dbus-broker.service
● ├─efistub-update.path
● ├─firewalld.service
● ├─lactd.service
● ├─languagetool.service
○ ├─mopidy.service
○ ├─mousemapper.service
● ├─NetworkManager.service
● ├─ollama.service
○ ├─setkeycodes.service
○ ├─snapd.apparmor.service
● ├─systemd-ask-password-wall.path
● ├─systemd-logind.service
● ├─systemd-user-sessions.service
○ ├─thinkfan.service
○ ├─tlp.service
○ ├─ufw.service
○ ├─basic.target
● │ ├─-.mount
● │ ├─tmp.mount
● │ ├─var-tmp.mount
● │ ├─var.mount
● │ ├─paths.target
● │ ├─slices.target
● │ │ ├─-.slice
● │ │ └─system.slice
● │ ├─sockets.target
● │ │ ├─dbus.socket
● │ │ ├─dirmngr@etc-pacman.d-gnupg.socket
● │ │ ├─dm-event.socket
● │ │ ├─gpg-agent-browser@etc-pacman.d-gnupg.socket
● │ │ ├─gpg-agent-extra@etc-pacman.d-gnupg.socket
● │ │ ├─gpg-agent-ssh@etc-pacman.d-gnupg.socket
● │ │ ├─gpg-agent@etc-pacman.d-gnupg.socket
● │ │ ├─keyboxd@etc-pacman.d-gnupg.socket
● │ │ ├─libvirtd-admin.socket
● │ │ ├─libvirtd-ro.socket
● │ │ ├─libvirtd.socket
● │ │ ├─sshd-unix-local.socket
● │ │ ├─systemd-bootctl.socket
● │ │ ├─systemd-coredump.socket
● │ │ ├─systemd-creds.socket
● │ │ ├─systemd-hostnamed.socket
● │ │ ├─systemd-importd.socket
● │ │ ├─systemd-journald-dev-log.socket
● │ │ ├─systemd-journald.socket
● │ │ ├─systemd-pcrextend.socket
● │ │ ├─systemd-pcrlock.socket
● │ │ ├─systemd-sysext.socket
● │ │ ├─systemd-udevd-control.socket
● │ │ └─systemd-udevd-kernel.socket
● │ ├─sysinit.target
● │ │ ├─dev-hugepages.mount
● │ │ ├─dev-mqueue.mount
● │ │ ├─kmod-static-nodes.service
○ │ │ ├─ldconfig.service
● │ │ ├─proc-sys-fs-binfmt_misc.automount
● │ │ ├─sys-fs-fuse-connections.mount
● │ │ ├─sys-kernel-config.mount
● │ │ ├─sys-kernel-debug.mount
● │ │ ├─sys-kernel-tracing.mount
● │ │ ├─systemd-ask-password-console.path
○ │ │ ├─systemd-binfmt.service
● │ │ ├─systemd-boot-random-seed.service
○ │ │ ├─systemd-firstboot.service
○ │ │ ├─systemd-hibernate-clear.service
○ │ │ ├─systemd-hwdb-update.service
○ │ │ ├─systemd-journal-catalog-update.service
○ │ │ ├─systemd-journal-flush.service
● │ │ ├─systemd-journald.service
○ │ │ ├─systemd-machine-id-commit.service
● │ │ ├─systemd-modules-load.service
● │ │ ├─systemd-pcrmachine.service
● │ │ ├─systemd-pcrphase-sysinit.service
● │ │ ├─systemd-pcrphase.service
○ │ │ ├─systemd-random-seed.service
○ │ │ ├─systemd-repart.service
● │ │ ├─systemd-resolved.service
● │ │ ├─systemd-sysctl.service
○ │ │ ├─systemd-sysusers.service
○ │ │ ├─systemd-timesyncd.service
● │ │ ├─systemd-tmpfiles-setup-dev-early.service
● │ │ ├─systemd-tmpfiles-setup-dev.service
● │ │ ├─systemd-tmpfiles-setup.service
● │ │ ├─systemd-tpm2-setup-early.service
○ │ │ ├─systemd-tpm2-setup.service
● │ │ ├─systemd-udev-trigger.service
● │ │ ├─systemd-udevd.service
○ │ │ ├─systemd-update-done.service
○ │ │ ├─systemd-update-utmp.service
○ │ │ ├─cryptsetup.target
× │ │ │ └─systemd-cryptsetup@root.service
● │ │ ├─integritysetup.target
○ │ │ ├─local-fs.target
● │ │ │ ├─-.mount
● │ │ │ ├─\x2esnapshots.mount
● │ │ │ ├─boot.mount
● │ │ │ ├─efi.mount
● │ │ │ ├─home.mount
● │ │ │ ├─opt.mount
● │ │ │ ├─swap.mount
● │ │ │ ├─systemd-remount-fs.service
● │ │ │ ├─tmp.mount
● │ │ │ ├─var-tmp.mount
● │ │ │ └─var.mount
○ │ │ ├─swap.target
○ │ │ │ └─swap-swapfile.swap
● │ │ └─veritysetup.target
● │ └─timers.target
○ │ ├─archlinux-keyring-wkd-sync.timer
○ │ ├─certbot-renew.timer
○ │ ├─man-db.timer
○ │ ├─pacman-mirrorup.timer
○ │ ├─shadow.timer
● │ ├─snapper-boot.timer
● │ ├─snapper-cleanup.timer
● │ ├─snapper-timeline.timer
● │ └─systemd-tmpfiles-clean.timer
● ├─getty.target
● │ └─getty@tty1.service
● └─remote-fs.target
○ └─var-lib-machines.mountThis log is from disabling tccd:
Jun 22 15:32:37 polkitd[1254]: Operator of unix-session:2 successfully authenticated as unix-user:user to gain TEMPORARY authorization for action org.freedesktop.systemd1.manage-unit-files fo>
Jun 22 15:32:37 systemd[1]: Reload requested from client PID 6198 ('systemctl') (unit user@1000.service)...
Jun 22 15:32:37 systemd[1]: Reloading...
Jun 22 15:32:37 systemd[1]: Configuration file /etc/systemd/system/podman-libretranslate.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs>
Jun 22 15:32:37 systemd[1]: Configuration file /etc/systemd/system/setkeycodes.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without r>
Jun 22 15:32:37 systemd[1]: Reloading finished in 124 ms.
Jun 22 15:32:37 systemd[1]: Stopping Session 2 of User user...
Jun 22 15:32:37 systemd[1]: archlinux-keyring-wkd-sync.timer: Deactivated successfully.
Jun 22 15:32:37 systemd[1]: Stopped Refresh existing PGP keys of archlinux-keyring regularly.
Jun 22 15:32:37 systemd[1]: man-db.timer: Deactivated successfully.
Jun 22 15:32:37 systemd[1]: Stopped Daily man-db regeneration.
Jun 22 15:32:37 systemd[1]: pacman-mirrorup.timer: Deactivated successfully.
Jun 22 15:32:37 systemd[1]: Stopped mirrorlist update timer.
Jun 22 15:32:37 systemd[1]: shadow.timer: Deactivated successfully.
Jun 22 15:32:37 systemd[1]: Stopped Daily verification of password and group files.
Jun 22 15:32:37 systemd[1]: Stopped target Local Encrypted Volumes.
Jun 22 15:32:37 systemd[1]: Stopped target Graphical Interface.
Jun 22 15:32:37 systemd[1]: Stopped target Local File Systems.
Jun 22 15:32:37 systemd[1]: Unmounting /.snapshots...
Jun 22 15:32:37 systemd[1]: Unmounting /opt...I'm not sure exactly when it started so can't tie it to a specific systemd update or any specific package.
Last edited by impossibleveins23 (2025-10-05 12:31:55)
* Good formatted problem description will cause good and quick solution ![]()
* Please don't forget to mark as [SOLVED].
Offline
Found the cause for this: I had invalid lines in /etc/systemd/system/systemd-networkd-wait-online.service.d/override.conf
Fixing this instantialy solve this issue and I can run again without triggering restart flow:
systemctl daemon-reloadand:
systemctl daemon-reexecLast edited by impossibleveins23 (2025-10-05 12:32:08)
* Good formatted problem description will cause good and quick solution ![]()
* Please don't forget to mark as [SOLVED].
Offline
How did you manage to troubleshoot this? I am facing the exact same issue. After a pacman update, systemctl daemon-reload is called automatically, which means it shuts down pacman and the DE mid update. The logs aren't giving me any hint as to what may be causing this. Sometimes manually doing a "sudo systemctl daemon-reload" will trigger it, but sometimes it doesn't.
Oct 27 18:58:15 username sudo[294395]: pam_unix(sudo:session): session opened for user root(uid=0) by username(uid=1000)
Oct 27 18:58:15 username systemd[1]: Reload requested from client PID 294421 ('systemctl') (unit user@1000.service)...
Oct 27 18:58:15 username systemd[1]: Reloading...
Oct 27 18:58:15 username systemd[1]: Reloading finished in 301 ms.
Oct 27 18:58:15 username sudo[294395]: pam_unix(sudo:session): session closed for user root
Oct 27 18:58:15 username systemd[1]: Stopping Session 5 of User username...
Oct 27 18:58:15 username systemd[1]: Stopped target Local Encrypted Volumes.
Oct 27 18:58:15 username systemd[1]: Stopped target Local File Systems.
Oct 27 18:58:15 username systemd[1]: Unmounting /.snapshots...
Oct 27 18:58:15 username systemd[1]: Unmounting /home/username/WinePrefix...
Oct 27 18:58:15 username systemd[1]: Stopping Cryptography Setup for root...
Oct 27 18:58:15 username systemd[1]: session-5.scope: Deactivated successfully.
Oct 27 18:58:15 username systemd[1]: Stopped Session 5 of User username.
Oct 27 18:58:15 username systemd-logind[2061]: Session 5 logged out. Waiting for processes to exit.
Oct 27 18:58:15 username systemd-logind[2061]: Removed session 5.
Oct 27 18:58:15 username systemd[1]: \x2esnapshots.mount: Deactivated successfully.
Oct 27 18:58:15 username systemd[1]: Unmounted /.snapshots.
Oct 27 18:58:15 username systemd[1]: home-username-WinePrefix.mount: Deactivated successfully.
Oct 27 18:58:15 username systemd[1]: Unmounted /home/username/WinePrefix.
Oct 27 18:58:15 username systemd[1]: Unmounting /home...
Oct 27 18:58:15 username systemd-cryptsetup[294536]: Device root is still in use.
Oct 27 18:58:15 username systemd-cryptsetup[294536]: Failed to deactivate 'root': Device or resource busy
Oct 27 18:58:15 username systemd[1]: systemd-cryptsetup@root.service: Control process exited, code=exited, status=1/FAILURE
Oct 27 18:58:15 username systemd[1]: systemd-cryptsetup@root.service: Failed with result 'exit-code'.
Oct 27 18:58:15 username systemd[1]: Stopped Cryptography Setup for root.
Oct 27 18:58:16 username sddm[2224]: Authentication error: SDDM::Auth::ERROR_INTERNAL "Process crashed"
Oct 27 18:58:16 username sddm[2224]: Auth: sddm-helper (--socket /tmp/sddm-auth-39f0d5bf-685c-4a13-a3b0-9715355846a6 --id 1 --start /usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland --user username) crashed (exit code 1)
Oct 27 18:58:16 username sddm[2224]: Authentication error: SDDM::Auth::ERROR_INTERNAL "Process crashed"
Oct 27 18:58:16 username sddm[2224]: Auth: sddm-helper exited with 1
Oct 27 18:58:16 username lact[6666]: 2025-10-27T13:28:16.030442Z INFO lact_daemon: got kernel drm subsystem event, reloading GPUs
Oct 27 18:58:16 username systemd-logind[2061]: Watching system buttons on /dev/input/event3 (Logitech USB Receiver Keyboard)
Oct 27 18:58:16 username umount[294550]: umount: /home: target is busy.
Oct 27 18:58:16 username systemd[1]: home.mount: Mount process exited, code=exited, status=32/n/a
Oct 27 18:58:16 username systemd[1]: Failed unmounting /home.
Oct 27 18:58:16 username systemd[1]: Stopped target Block Device Preparation for /dev/mapper/root.
Oct 27 18:58:16 username systemd[1]: systemd-fsck@dev-disk-by\x2duuid-b29752be\x2dc154\x2d45bf\x2d9773\x2dcee363a29989.service: Deactivated successfully.
Oct 27 18:58:16 username systemd[1]: Stopped File System Check on /dev/disk/by-uuid/b29752be-c154-45bf-9773-cee363a29989.Offline
Other than checking that all the services are configured correctly using `systemd-analyze verify`, I had another major issue that my /etc/crypttab had incorrect UUID for the encrypted partition (I switched hard drives).
* Good formatted problem description will cause good and quick solution ![]()
* Please don't forget to mark as [SOLVED].
Offline
I also had an incorrect UUID in crypttab after moving drives recently. Corrected it, now just need to wait some updates and hope it doesn't happen again. ✌?
Thank you.
Edit: Seems to have worked! Thank you again.
Last edited by derpva (2025-10-29 10:06:06)
Offline