On Apr 26, 2022, at 17:58, Tom Horsley horsley1953@gmail.com wrote:
On Tue, 26 Apr 2022 17:41:34 -0400 Jonathan Billings wrote:
The systemd --user daemon does hang around though, and it is likely it is waiting on terminating some pesky user process that wasn’t terminating properly. It isn’t the blocking process, it is the daemon trying to terminate it.
Nope, absolutely everything from that ssh session was always gone, it was the user daemon itself that caused the hang.
Most likely it was trying to remove something from the session (such as a mount) that wasn’t responding. The user daemon itself will terminate once the session has been terminated.
It’s not like the systemd developers were like, “oops we forgot how to make the user daemon exit” or anything. I’m not trying to say I don’t believe your experience happened, I’m just saying that the outward appearance was deceiving. Could systemd do a better job saying what it was waiting on? Yes. Is it so horribly broken it doesn’t know how to exit? No.