5 ms·
> They broke userland. So? "We don't break userland" is a Linux kernel thing. Systemd is not kernel, it's userland, and userland things break other userland th
by xyzzyz 8y ago
> They broke userland.
So? "We don't break userland" is a Linux kernel thing. Systemd is not kernel, it's userland, and userland things break other userland things all the time. They already broke lots of existing stuff when they replaced /etc/init.d/ scripts with systemd definition files, should systemd also have not done that?
> It doesn't matter what tradeoff they made - they went against POSIX behaviour, and as a result, broke numerous utilities, both past and future.
Linux is not POSIX, so I don't see how that's relevant. For what it's worth, I don't even know what part of POSIX it broke. Care to enlighten me?
- jimrandomh 8y agoRight; the Linux kernel has a "we don't break userland" policy, systemd doesn't. That's a selling point for the Linux kernel, and a strike against systemd. Both systemd and the Linux kernel are infrastructure projects which, if they're doing their jobs well, will never cause me problems so I get to ignore them. Systemd has been causing other people problems, and doesn't seem to understand that in the role they're trying to fill, preventing that from happening is their first and most important responsibility.
- majewsky 8y agoLike it or not, the Linux kernel is clearly the outlier in terms of backwards compatibility. For example, Postgres changes their data format in most non-bugfix releases. Would you consider that "a strike against" Postgres?
- dooglius 8y agoThey provide an upgrade process that makes this invisible to the end user, so it's not a fair comparison. If it started deleting tables when I exit a session, that would definitely be a strike against it.
- m45t3r 8y agoSystemd offer a compile and runtime option to turn this option off, so it is a fair comparison.
- SahAssar 8y agoPostgres has session-bound resources, and in most cases no way to disable those from being deleted when exiting a session. For example in postgres you can't persist a prepared statement, but you can of course persist data within a table. Any function running will be killed when you exit (or at least not complete since the transaction is cancelled). IMO when a user has logged out and has not had the permissions/foresight to setup a task in the system to run without a session it should be killed. I get that this has not been the default behavior in linux/UNIX, but to me it seems like the sensible one. And that's before we ever argue about the possibility to turn it off.
- shakna 8y agoI think you're completely missing the point. If you ruin everyone else's day, and change behaviour everyone else is expecting, then it's probably your own fault. Approaching it as if everyone should simply change and do what you want, is the height of arrogance. You are generating work for others. And in this particular case, not only are you generating work for others, you are eradicating a category of software. When a distribution adopts systemd, they let everyone know how things are changing, and slowly transition things over, releasing when stable. We know systemd replaces init.d. It was difficult, but distributions using systemd got over that hurdle, but it did take time. However, this is not the same. Yes, systemd is userland, however it is also PID 1. It is a layer between most userland and the kernel, and so needs to reflect the responsibility of it's position. Ignoring how NOHUP is supposed to be interpreted, is a _bad idea_, and yes, a violation of POSIX, specifically signals (SIGHUP and nohup), and how they are supposed to be handled. Moreso, it greatly heightens the difficulty of many utilities that are expected to work. Why should cron (all implementations of cron), suddenly need to rely on another userland library to maintain it's function? You just broke most Linux automation. Across an entire industry. Why should screen (all implementations of screen), suddenly need to rely on a userland library much bigger than most implementations, to continue it's base function? You just broke an entire category of background systems - including systems communicating with embedded hardware. You might have caused a factory-floor fault. Which could cause injury, or worse. A breaking change of this level can cause industry-wide ramifications that are not just limited to the digital. Unexpected behaviour is exceptional, and should take time and considerable thought before occurring. Systemd has responsibility that no other userland system has. It's PID 1. If they're going to require a massive change in process behaviour, then they are going to require consultation, awareness within the industry, and transition time. They should be working with distributions, aware of the man-hours they're generating, before they put something in place.
- jodrellblank 8y agoAren't we just a few weeks after Rich Hickey's "you have no right to make demands of open source software" rant? Systemd has responsibility that no other userland system has. It's PID 1. No, you have the responsibility to check what the software you are installing does, and if you don't approve, change it or reject it. Or, don't check, and deal with it. Systemd developers do not owe you working POSIX, working cron, industry wide working Linux automation, screen, separate userland for everything. They don't owe you anything. If you don't like their thing, don't use their thing.