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
15
u/mogsington May 29 '16
It's actually the other way round.
At the moment it's trivial to run a process which I know will keep running after I log out. I can then close down a whole heap of running processes, log out, turn off the monitor and go to bed. That single process is running in the relative safety of my user account and isn't insisting I stay logged in to a desktop session full of other processes all night. It isn't a significant security risk.
Assuming one day the new systemd default did become the standard for Linux distro's (I know it isn't, but lets for the sake of argument imagine it has one day become the default) .. A lot of "Do it the easy way" users would instead leave a terminal running in a graphical session over night with all the sub-processes that entails churning away as potential security risks, because visible to them, the default is for everything to die if they log out.
So your "why do they need processes still running?" question becomes .. largely, they don't. And as it stands it's trivial to absolutely minimise what they do leave running. If this default ever did achieve wide spread adoption, they would probably leave dozens to hundreds MORE processes running just to keep that one thing going that they wanted running over night.
It isn't up to any of us to dictate how a particular Linux user actually uses Linux. We can suggest safer / more sane ways of doing things. But it has always been a platform rich in choice for how the end user actually decides to do things for themselves. Hypothetical arguments on "should" & "probably" and "I can't imagine why" are bound to be limited to one users particular viewpoint concerning the things they themselves often do and utterly ignore a lot of things they never do and never thought of doing.