Le 20/03/2026 à 16:02, Daniel Sterling a écrit :
unfortunately it's likely that systemd is killing these (non-service)
processes well before the systemd-shutdown binary runs.
if anyone knows / can point to docs on how systemd handles non-service
processes resulting from user logins, that would be a starting point.
I *suppose* this is managed by systemd-logind.service(8) and possible
partial explanation might be found in systemd.kill(5) manpage
after understanding that, the next thing to understand would be how
systemd on debian is configured to terminate these processes,
potentially on both logout and on reboot (and if there is a
difference)
So for the OP, temporarily increasing verbosity of both
systemd-logind.service and systemd-halt.service would potentially be
informative enough to be profitable