r/linux • u/rain5 • May 28 '16
systemd developer asks tmux (and other programs) to add systemd specific code
https://github.com/tmux/tmux/issues/428
359
Upvotes
r/linux • u/rain5 • May 28 '16
View all comments
Show parent comment
4
u/Lennartwareparty May 29 '16
Again, what is bad about it? Why should processess belonging to a user be killed when that user logs out?
Where do you get this idea from that it's some-how sane or desirable behaviour to have only processes of logged in users running? Logins are a conduit for human interaction, to say you should only be running processes you interact with, because that's effectively what they are saying, is utterly silly.
They are not allowed to be uncontrolled, the system administrator at any point is free to kill any processes ran by users who aren't logged in at the moment.
This mechanism already existed, when a controlling terminal a process is attached to dies it gets sent HUP, when a graphical session a program is connected to dies, it is notified of that and typically responds by killing itself. They basically replaced
nohupwith `systemd-run and called it good.