6 ms·
I quite like systemd on my newer notebooks, hate it on servers. Different users (DWH != 1-person desktop installation) have different requirements. @munin[0] d
by DyslexicAtheist 10y ago
I quite like systemd on my newer notebooks, hate it on servers. Different users (DWH != 1-person desktop installation) have different requirements.
@munin[0] did a pretty good illustration on why both pro/con systemd camps might be right about their reasons:
→ So, systemd is kind of a perfect microcosm of all the 'problematic' behavior in tech, all at the same time. It's a project that is dedicated to novelty and a specific set of goals - mostly speed-centric - above all else. And, to its credit, it -does- make certain linux systems boot faster than other, competing init systems. However. First, the way in which systemd has progressed has taken specific advantage of certain problems in the open-source community. Namely, that there are many projects that have little or no attention paid to them, despite being infrastructurally critical.
→ So there is little desire by various linux distributors to make the effort to maintain them - and when someone shows up offering to replace and maintain that functionality, taking the responsibility off the already overworked maintainers' plate? That's attractive.
→ Open source maintainers are always in a deep technical deficit trying to get these old bits and pieces maintained, so they're eager to get the help, and don't look too closely at what his 'help' entails.
→ And unfortunately, what this 'help' entails is the highly toxic systemd community - and I use 'community' in the loosest sense, because it really works out to being a sort of cult, spearheaded by a specific individual with the ultimate power of acceptance or rejection over anyone else's participation in the project.
→ Which is really unfortunate, because that guy's got an ego the size of Manhattan. And he continually refuses to take criticism over his design and implementation choices - take a look at what's left of any bug reports.
→ I say "what's left" because he has a history of purging anything he considers to be "un-useful" - that is, critical - from the archives
→ Now, certainly, you -could- go ahead and fork the project! Except now you have a giant codebase and no community to work with to fix it. You could always convince the distros to abandon it! ...except you're now up against a bunch of overworked people who, frankly, won't care. And, worse, now that it's a de-facto 'standard' in the linux world, you have a whole lot of institutional inertia to work against to try to replace it, and - unlike when they replaced init - a dedicated group of people who are utterly convinced they're doing the right things advocating against rolling back the changes. And, worse, there -are- some good points. SysVInit -is- grody as all get-out.
→ However, because of their dedication to novelty above all else, they're making not only all the same mistakes sysvinit had to learn...
→ [ And because of ego, rejecting these mistakes as being 'un-useful criticism' ]
→ But they're making whole new kinds of mistakes - things like https://cfp.systemd.io/en/systemdconf_2016/public/events/21 https://cfp.systemd.io/en/systemdconf_2016/public/events/21 … which is just -staggeringly- WTF.
→ It's this whole fun trend of "fail fast" that, sure, looks great in a startup producing some new kind of app for making your phone go yawp
→ But it's not -really- a very good model for infrastructural type concerns - the things that need to be, by reason of their importance - conservative and slow to change. You want your infra to be -reliable-, not "full-featured" - at least if you've any sense.
→ So: You have the trend-chasing guys who show up to solve "all your problems" at the cost of making mistakes that could be seen a mile away. Eventually leaving you far worse off and making a huge mess that will be -extremely- expensive to fix when a reckoning comes. All in the name of some "change" that's needed from the status quo and without understanding why the status was quo. What's the solution here? Well, for one thing, take a look at the fine print when Mephistopheles shows up offering to take care of all your problems. It's too late for Linux - most Linuces are pretty much doomed at this point into becoming utter travesties that make WinMe look reasonable. Though the Devuan and Alpine folks seem to have some good impetus behind them.
→ Consider carefully what consequences are going to show up from adopting these new and nifty 'features'.
→ Consider that there is a very large difference in requirements between core infrastructure and user-facing things.
→ [ Because user-facing things can fail fast and be updated fast, but core infra is much more expensive and time-consuming to do either ]
[0] Source: https://twitter.com/munin/status/781257878321582080 https://twitter.com/munin/status/781257878321582080
Sorry about the above format, was too lazy to do a 'storify' or 'tweetlonger' also hoping he puts that into a blog.
- qwertyuiop924 10y agoThis is a pretty good summary of all the problems with systemd. Of which there are many.
- bandrami 10y agoCan't stand it on servers. It takes an absurd amount of effort to just get a deterministic non-parallel service initiation. And the whole "systemctl start foo.service && systemctl status foo.service" bit to make sure it actually started is such a regression it's mind-boggling. Plus it hates the fact that I use a static /dev tree (that's the only way I've found to do it on a server while keeping my sanity). On my laptop, it's fine, I guess, though even there I aesthetically dislike parallel service initiation; I'm glad Jessie still lets you replace it with a real init system, though I wish epoch [1] were packaged. [1] http://universe2.us/epoch.html http://universe2.us/epoch.html
- parenthephobia 10y ago> deterministic non-parallel service initiation When is this a problem? > systemctl start foo.service && systemctl status foo.service If you need to do that, the problem is with foo.service, not systemd. If foo.service fails to start, the right way, then "systemd start foo" will fail. This is true of any init system: if a service starts but then bails out after success has been reported to the user, it's too late to change that. > static /dev tree What's insanity-causing about a dynamic /dev tree "on a server"?
- bandrami 10y ago> When is this a problem? You're joking, right? Sysadmins need a deterministic boot order, period. If I want services to activate on a request I'll use inetd, but I haven't wanted that in years. > If you need to do that, the problem is with foo.service, not systemd. This isn't about assigning blame, this is about my server being usable. If a service fails to start I need the command that called it to fail also. > What's insanity-causing about a dynamic /dev tree "on a server"? Again, it's non-deterministic. Worse yet, it's declaratively configured in a million and one udev rules instead of one imperative run control script (which would at least be better, though still a bad idea) I need the devices on my servers to always have the same names and numbers, and obviously a static tree which doesn't expose any surface for my error or somebody else's attack is strictly better than a configurable system that does expose those surfaces. My run control scripts start the services that need to be started, in the order they need to be started, one at a time, because at 3 am with the alarms going off, that is transparent to me or to whoever has replaced me after the tragic bus accident. Sysadmins get this, which is why so much of the pushback against systemd came from us. Distribution maintainers love systemd, and I get that, but I'm not a distribution maintainer. So now my site-local imperative run control scripts replace an upstream declarative config system rather than a distro-maintained set of run control scripts. C'est la vie.