6 ms·
It's so HN can have its 2 minutes of hate against systemd. A systemd dev opening a GitHub issue[1] was enough to get 194 votes and 284 comments. [1]https://new
by sesutton 10y ago
It's so HN can have its 2 minutes of hate against systemd. A systemd dev opening a GitHub issue[1] was enough to get 194 votes and 284 comments.
[1]https://news.ycombinator.com/item?id=11797075 https://news.ycombinator.com/item?id=11797075
- Natsu 10y agoIt can also be because people want others to know that they're not alone when they see strange delays when logging into production systems and there's a fix for it that you probably want to know about.
- ivank 10y agoYes, that is in fact why I submitted it. It took a while to figure out it wasn't happening just because my server was overloaded.
- merb 10y agoboth sides are really toxic here. that's a problem. even a compile time switch was not feasible for tmux (to enable pam). while systemd still lacks a good api design that is close to daemon(). in a world with so much communication we should at least try to work together..
- jononor 10y agoWhy is something like daemon() needed with systemd? Typically you just run your process as if it was in the foreground, and systemd handles the rest. What do you lose?
- digi_owl 10y agoTmux, GNU Screen, nohup, detach...
- creshal 10y agoUnless you change a single config setting in systemd. Which distributions already do for you.
- JdeBP 10y agoChanging the config settings that logind applies to session units is the inferior solution. The superior solution is for logind to use KillUnit to send a hangup signal, leaving StopUnit for use at system shutdown. * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825394#221 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825394#221
- deleted 10y ago[deleted]
- vetinari 10y agodaemon() doesn't distinguish between terminal window life cycle and desktop session life cycle. That was the original issue that caused the problem with systemd, not detaching process from terminal.
- X-Istence 10y agoAdding any type of compile time switch adds extra maintenance burden and adds one more thing to test, one more thing that needs to be checked for regressions. One more thing may not seem like much, but increasing the maintenance burden on a project that had nothing to do with the reason something was broken in the first place seems incredibly one-sided and wrong.
- creshal 10y agoIt's not that simple. Without PAM support, tmux is already broken, even on non-systemd distributions, in some corner cases. E.g., starting gpg-agent the "wrong" way breaks it inside tmux sessions, even on sysvinit, if tmux does not register PAM sessions. But, of course, because the bug is only seeing wide-spread attention since systemd triggers it more often, it can't get fixed, because Lennart is the reason we cannot have nice things. Or something.