13 ms·
Systemd Is Not Magic Security Dust
- arca_vorago 10y agoI know it's not the most popular opinion, but I continually come back to the NSA docs from Snowden, look at the timeline, and understanding the origins of systemd inside redhat, I'm not convinced but I do find it highly probable the NSA had a hand in pushing systemd. So I view it as anone two punch for linux, massive and strangely fast adoption across distros would mean most distros have a systemd backdoor (if the above is correct), but not only that, I also expect systemd to be the thing that they try to use to pivot away from the gnu ecosystem! So, while technically systemd does some things in interesting ways, I dont trust it at all, but because of its almost overnight move into ubiquitiousness, I have forced myself to learn it. In the mean time, I am keeping uo with devuans progress and plan to transition as soonas I find it stable enough.
- deleted 10y ago[deleted]
- jcranmer 10y agoWhile it's clear that your theory is not exactly popular opinion here, I find the bit about the NSA hoping to move people from the GNU ecosystem to be amusing. I mean, it's not like GNU software ever has any serious privilege escalation that persist for 25 years before being discovered like the egregious Shellshock vulnerability in... GNU Bash (Debian's non-GNU dash shell replacement was not vulnerable, nor was ksh).
- martius 10y agoThe author of this blogpost is publicly insulting David Strauss (the systemd contributor to whom he responds) on twitter: https://twitter.com/__agwa/status/782643469034528769 https://twitter.com/__agwa/status/782643469034528769
- deleted 10y ago[deleted]
- deong 10y agoTo be fair, he's doing so while referencing a response from that developer that was just as insulting. I don't want to get into a debate over whether two wrongs make a right, but the flow was "Systemd is not good", followed by a reply of "you're just a child throwing a tantrum", then followed by the insulting tweets.
- bkor 10y agoSystemd makes it easy to add additional limitations to every service you're running. More easily restrict all your services (NTP client, DNS caching server, etc). It adds an easy to use method to restrict all of the daemons and services that someone might be running. Further, because the unit files are often shipped with the daemon/service, it'll do this by default on every install. Not just to the ones which have been looked at by a sysadmin. So a standard RHEL server by default has more restrictions than before. The examples are pretty unconvincing IMO. The article talks about an email server. Systemd will provide an easy method to not have one service read the other one. In the examples it talks about email server and a web server. But completely ignores that someone will not just target that specific service, you could just as well compromise the NTP client and then move from there to another service. Obviously systemd is just one small layer and security is not a yes/no thing. But why then talk specifically about systemd? The article seems to suggest that it's better to not use these abilities. This goes against the usual defence in depth security IMO.
- qwertyuiop924 10y ago>Systemd makes it easy to add additional limitations to every service you're running So does chroot. And so does jails. And posix capabilities. And cgroups...
- darfs 10y agoI think he is being downvoted because he is factual wrong. Could someone please elaborate with details?
- DyslexicAtheist 10y agoone of the arguments against systemd is that it consolidates several scriptable and bug-prone isolated scripts into a binary. This is introducing it's own risks that require upstream interaction to fix a small issue normally a sysadmin without knowledge of C can hot-fix locally. Considering the non existence of a systemd developer community, it's pretty risky. There are similar arguments (pro/against) docker where 2 camps, one saying it's poison & bloat the other the best thing since tabbed browsing. People get so riled up because they're unwilling to acknowledge that they're just tools that make lot sense for solving specific issues. Everyone keeps looking for silver bullets. Problems start when one camp tries to become the de-facto standard (not just the tool but also the processes that come with it). Also people are way to scared of code-forks IMHO. The "fail quick, fail fast" mentality should apply here too. Some healthy competition and a willingness to let certain projects just wither and die should be a good thing ...
- DyslexicAtheist 10y agoI 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.