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
1
u/__fool__ May 29 '16
I think the problem is more along the lines of how do I handle when your process ignores being asked to shutdown? If I'm the init/service system that is supposed to control what's running, should it a) force kill all the stuff running after a timeout, b) just ignore things after a specific timeout, or c) should it be aware of the context the process was run under and handle appropriately?
I think a well engineered system is option c), but I'm willing to listen to reasons why that's a bad thing.
It's a userspace application problem. That could certaintly be GNOME but it doesn't have to be. Personally, I don't want my init system to assume all software is written by redhat developers, but I do want my init system to clean up a dead process not listening to it's SIGHUP.
Either way, I don't know the lay of the land to argue whether or not there's a better fix, but I don't like pretending we can't actually improve linux because we hate change or lennart.