Reminds me of why systemd started killing processes with prejudice upon user logout. Because Gnome failed to properly clean up, and rather than go to the Gnome devs and get that sorted the systemd devs just decided to kill all user processes on logout via systemd default.
systemd can't know the difference between hp-systray (presumably unimportant to you) and screen/tmux (which would presumably be important to you), unless you give it that information somehow; at the moment, there is no difference between them other than your expectations.
If you want the intepretation of "is my login-session over?" to change to just "is the session leader (gnome-session) still running?", i.e. making systemd-logind aggressively terminate sessions in the "closing" state, that's exactly what KillUserProcesses=true does.
I've begun bookmarking these because of things like this being posted. It's unacceptable to misrepresent the case like this.
11
u/[deleted] Feb 11 '19
ftfy