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
70
u/rain5 May 28 '16
"speaking as the Debian maintainer I'm okay with adding a dependency on libsystemd to the package"
worrying
43
u/[deleted] May 28 '16
Waitwaitwait. You mean, if I log out of a session (KDE, Gnome whatever) there will be processes left running that I started ruing that session? Whose dumb idea was that? And how do I fix that?
15
u/9Morello May 28 '16
That isn't cool at all.
26
u/qwesx May 28 '16
The suggestion was to make it "compile time and run time optional". What exactly is the problem with that?
14
u/tesfabpel May 29 '16
Couldn't systemd devs ask to change the Linux implementation of daemon(3) and / or setsid instead of asking to every interested program to adapt to systemd?
I think in this way, everyone wins...
Am I wrong?
70
u/ShadowPouncer May 29 '16
This is one of those things which really has good arguments both ways.
If I'm running a desktop session, and I log out of that session, with few exceptions nothing should be left running.
If I start up a terminal instance, and I put things into the background, run them under screen or tmux, run them with nohup, or just start a daemon as my own user, those things should NOT be killed when I close the terminal or when I log out.
And even more so if I login via ssh.
tmux and screen are mildly special, however I would strongly argue that anything launched from an interactive terminal session should be treated as equally 'special' by systemd.
This is only problematic because you can start a terminal session from your desktop session, and that might need to involve some systemd/PAM hooks in the terminal emulator of your choice.
But stop treating everything like a bloody graphical desktop systemd.
48
u/[deleted] May 28 '16 edited May 28 '16
I really don't like where this is going. Someone commented this and it seems to grasp the whole principle around why this is bad.
At the same time, telling the systemd people to add/write exceptions for tmux/screen/etc is also just as weird as the systemd people asking tumix/screen/etc to add exceptions for them, or no?
4
u/[deleted] May 29 '16
This is another example where commenting on Github issue tracker isn't helping. The developers have already made up their mind (they generally only listen to input from their fellow developers, not from the outside). And both on systemd and tmux github issues you find comments which say they should close for comments because the "peanut gallery" has discovered it. They happily accept pull requests that implement what they already have in mind though. Props for that!
18
u/metaaxis May 29 '16
Bwaa ha ha ha ha.
We know what's best for the world, so we switched the default, creating a pretty substantial change in behavior and requiring a ton of contorted changes to user-space tools to accommodate our bullshit.
Instead of simply letting the people who actually want and need this behavior change a setting.
Fucking hell Lennart, Kay, & co.: could you please stop the hubristic monkey business?
15
u/akmark May 29 '16
It's sad that I'm starting to miss upstart already.
8
u/geggo98 May 29 '16
I don't see the problem. They can ask for nearly anything. If they get what they want is a different question. But asking and discussing is usually not a problem. If they ask politely, they might even learn something from the answer they will get. And perhaps they will even find a solution that is good for all parties.
3
u/[deleted] May 29 '16
this is already done with power management. there is an inhibitor api for desktop environments that don't want systemd to get involved. same thing.
31
u/denisfalqueto May 29 '16 edited May 29 '16
Tmux refuses to use PAM too, which should be the right thing. So, fuck them and their stubbornness.
7
u/vithos May 29 '16
Turn back now, these comments are mostly toxic.
4
u/varikonniemi May 29 '16
systemd/Linux
3
u/[deleted] May 29 '16
And this is exactly why I use OpenRC for my system's init. Hell... I'll even take runit over using systemd again.
2
u/[deleted] May 30 '16
any linux distro where tmux doesn't work i dont want to use
1
u/tkoham May 29 '16
I don't have a horse in this race as all my critical stuff runs *BSD but, dang...
guess I'll have to try installing gentoo again on my arch box...
-1
u/icantthinkofone May 29 '16
So tmux would become Linux-only software. Great idea....no.
0
u/t35t0r May 29 '16
Someone could have already patched tmux to accept a compile time flag to support systemd by now. So many hours and bits wasted in this thread.
-14
u/argv_minus_one May 29 '16
Spread your FUD somewhere else.
-36
u/[deleted] May 28 '16
unix sucks ass and it's a good thing someone is trying to fix it
the amount of butthurt generated in the process is a plus too
0
u/[deleted] May 28 '16
[deleted] — view deleted comment
0
u/[deleted] May 28 '16
[deleted] — view deleted comment
0
u/[deleted] May 28 '16
[deleted] — view deleted comment
0
u/[deleted] May 28 '16
[deleted] — view deleted comment