3 ms·
I'm sorry but this is reasonable. Systemd is fixing real issues with Linux, and if apps rely on old bad behaviour they should be changed to work the new better
by IshKebab 10y ago
I'm sorry but this is reasonable. Systemd is fixing real issues with Linux, and if apps rely on old bad behaviour they should be changed to work the new better way.
- quickben 10y agoI believe the argument base is on the approach being used. Linux has a certain design principles it's built on; and it seems most of the objections are towards the SystemD's team completely disregarding said design principles.
- rincebrain 10y agoThe problem here, though, is that they're requesting programs which used to be able to persist via call foo() to call bar() instead if they want to persist on logout, only on Linux. As someone in the linked issue remarked, this will end with everyone calling bar() if they want to persist (the same way they already called foo()), and we'll still have the same level of persistent process issues, but with a systemd dependency.
- themartorana 10y agoBest explanation of the core issue thus far.
- Spivak 10y ago> but with a systemd dependency. Worse, this isn't "the systemd developers have proposed a new common API for simplified persistent processes across platforms", but a hard dependency on this particular revision of the systemd dbus interface, or using the systemd-run application to generate a user service file.
- sklogic 10y agoProcess persistence is not an issue, it's a feature. "Desktop" users with their silly "issues" should go somewhere else and leave Unix alone.
- matthewmacleod 10y ago"Desktop" users with their silly "issues" should go somewhere else and live Unix alone. Were you unintentionally playing a parody of a traditionalist here? I can't really say I have much of an opinion on systemd, aside from using it on newer systems and discovering that it hasn't really affected much. But it does seem that there's an unnecessary amount of antipathy between views on this issue, to the point where any discussion about it is difficult to extract any value from due to the noise. This comment kind of sums that up - issues of desktop users are important for desktop users of UNIX, and dismissing that seems a little irrational.
- sklogic 10y agoDo we even need those low quality, low value "desktop" users? Why should everyone else suffer in order to make things tiny bit easier for an average Joe? Systemd is ill-designed throughout, and all of its design decisions do not have any place in Unix world. They're solving the silly desktop "issues" (note the quotes again - I do not believe any of this is a genuine issue at all) always in the most retarded and convoluted way possible.
- matthewmacleod 10y agoI think you're maybe overreacting. It's worth considering that far from being targeted only at desktops, systemd seems to be pretty useful in server installs – the CoreOS ecosystem is a good example of where it works well. I do get the impression that systemd isn't particularly well-designed, in that it feels like it would be equally possible to implement a more modular solution with better-defined and -designed APIs, such that the problems it solves could be handled collaboratively across the whole UNIX platform. I get the impression that this would make many people happier. I do reject your characterisation problems as 'silly desktop issues' however – and it's shallow arguments like that, rather than genuine objections to the implementation of systemd that make the discussion so unconstructive.
- sklogic 10y ago
- mjolk 10y agoCorrection: it's working on "perceived" issues with Linux, e.g. plaintext logs being too large or sequential boot processing being too slow. I personally don't think that systemd and subverting unix philosophy is worth the trade of faster reboot times on my servers. It solves a "problem" that I don't have with a middleware solution that I don't want.
- riyadparvez 10y ago> sequential boot processing being too slow I have a eight-core CPU. Do I want to wait 80 seconds waiting for my laptop to boot because it is using only one core of CPU? Or do I want to wait 20 seconds waiting for my laptop to boot using all the cores available? I do not know what your use-case is, but to me, the choice seems pretty obvious. Can you provide any reason why it is a "perceived" issue, not a real issue? EDIT: 80 seconds or 20 seconds are not the hard numbers, these are just used to show 4x speed-up on 8-core CPU. Also, why the downvote? Is HN becoming another echo chamber where people can not accept different opinion without downvoting?
- mjolk 10y agoIt's a "perceived" issue because not everyone has written his/her init scripts in a way that cause a boot time of over a minute. Or have uptimes in the magnitude of years, or if using Linux as a desktop OS, aren't pestered by the extra handful of seconds.
- riyadparvez 10y agoAs I have said 80 seconds or 20 seconds are not hard numbers, just used as an example. It can simply be rephrased as 4x speedup. I am not sure how the uptime argument is relevant here. > if using Linux as a desktop OS, aren't pestered by the extra handful of seconds. Your last point seems argument for the sake of argument. We are in a technical discussion, not a religious discussion. I did not buy a 8-core CPU to wait extra seconds paying electricity bill for the unused CPUs to validate someones hatred for some specific init system. If systemd can better utilize my system resource and cut my waiting time, I am going to use that. My lost time is the real issue, someones irrational hatred for something bears no value to me.
- PeterisP 10y agoDaemons being killed on user logout isn't a bad behavior, it's the documented and expected result. It seems that the problem is that some apps need a feature/toggle that would kill them on logout, but the daemon call doesn't allow that - so a reasonable fix is to make such behavior possible (i.e., new api call), and change those apps who need new behavior instead of changing those apps who rely on this behavior staying as implemented, documented and intended originally.
- prodigal_erik 10y agoIf I can't do "nohup foo && logout" to go home and run foo over the weekend, systemd has a serious bug, because that has been the documented and expected way to do that ever since I started using Unix.
- Spivak 10y ago> apps rely on old bad behaviour they should be changed to work the new better way This behavior is neither old nor bad and painting it as such is just rhetoric. When the 'session' that spawns a user daemon ends, usually via logout, the child processes receive SIGHUP which notifies them that their controlling process has exited. Most processes respond to this signal be terminating. However, if a process is intended to persist, then it will simply ignore the signal and continue running. Now, if we're going to have a rational discussion about this then you need to explain what is wrong with this model, and why transitioning to a systemd specific dbus interface is an improvement. > new better way Which has a hard dependency on a specific init system reducing portability. UNIX signals are stable, documented, and so portable you can even use most of them on Windows.