News for hackers. Stuff that matters.
Re:Why Did It Take Devuan Two Years to Replace Systemd? by pmoriarty on Tuesday July 11, 2017 @03:41PM (#14747327)
One of the main problems was the speed with which systemd was rolled out on all the major Linux distros, despite it being relatively immature and very controversial at that.

The second major issue is it growing way out of the bounds of being just an init replacement, thereby violating the so-called Unix Philosophy of doing one-thing well. For a user app to do that is one thing, but for a core OS component to do that just smells way too much like forcing Linux to be more like Windows, which a lot of hard-core Linux users are ideologically opposed to.

The third major issue is that on most major Linux distros, users are not given an easy way to avoid using systemd, no matter how much they hate it or oppose it.

The fourth issue is the apparent arrogance of the people responsible for systemd, and their off-hand dismissal of mature and widely respected unix conventions.

All of this adds up to a storm of controversy that the systemd people mostly brought upon themselves. Had they just been more humble about their creation and waited until it was mature and well-tested and did all the wonderful things they claim it could and should do instead of stuffing what was widely seen as a broken-by-design piece of garbage down everybody's throat, maybe much of the Linux community wouldn't have been nearly so outraged by it.

Re:Why Did It Take Devuan Two Years to Replace Systemd? by happypants23 on Tuesday July 11, 2017 @04:26PM (#14747744)
The second major issue is it growing way out of the bounds of being just an init replacement, thereby violating the so-called Unix Philosophy of doing one-thing well.

I keep on hearing this overly worn "Unix Philosophy" argument against systemd, which in the absence of any non-religious technical justification, basically boils down to "its different".

All of this adds up to a storm of controversy that the systemd people mostly brought upon themselves. Had they just been more humble about their creation and waited until it was mature and well-tested and did all the wonderful things they claim it could and should do instead of stuffing what was widely seen as a broken-by-design piece of garbage down everybody's throat, maybe much of the Linux community wouldn't have been nearly so outraged by it.

Nobody shoved anything down anyone's throat, least not the SystemD developers. And the same goes for PulseAudio, DBUS, and all the other projects on freedesktop.org.

Anyway, in reality, software does not become mature and well-tested without early exposure to real users and systems. Chicken-and-egg problem there.

I feel absolutely no sympathy for those who are outraged. There are many distributions out there (including Devuan) which align with their particular vision of an OS should be.

Re:Why Did It Take Devuan Two Years to Replace Systemd? by sliken on Tuesday July 11, 2017 @05:33PM (#14748269)
Why does an init system need a DNS implementation? Why not use named, unbound, or any of the other implementations?

Instead they implement it poorly, have had various problems with it, and of course there have been security problems with it.

Do you really want an init system that replaces a ton of functionality poorly like dns, ntp, syslog, xinetd, etc etc etc?

Re:Why Did It Take Devuan Two Years to Replace Systemd? by happypants23 on Tuesday July 11, 2017 @06:42PM (#14748709)
> Do you really want an init system that replaces a ton of functionality poorly like dns, ntp, syslog, xinetd, etc etc etc?

SystemD is not just an "init" system. You have to look at the larger vision for it being a set of building blocks for Linux system and service management.

I think this is a very good thing. Its about time that Linux had a unified and self-consistent approach to system management and configuration.

Re:Why Did It Take Devuan Two Years to Replace Systemd? by pmoriarty on Tuesday July 11, 2017 @07:10PM (#14748839)
"SystemD is not just an "init" system. You have to look at the larger vision for it being a set of building blocks for Linux system and service management."

This was not the way it was sold. It was originally sold as an init replacement.

If at the start the systemd guys had come out and said, "We aim to replace much of the core of Linux with some kind of Windows-Linux conglomoration: replace not only init but dns, syslog, turn all system log files binary, replace intetd, fuck with account naming, and oh, by the way, there'll be no easy way for distros that go with systemd to give their users a choice to use something else" then I'm not so sure how many people would have gotten onboard.

Basically, systemd has been a retooling of the core Linux ecosystem by people who think they know better. Well, this might be news for systemd fans, but they don't necessarily know any better than the rest of us, and the rest of us would like some choice in the matter. Instead we're force fed systemd and our operating system are no longer Linux but some bastardization of Linux and Windows.

"Nobody shoved anything down anyone's throat, least not the SystemD developers."

Tell that to the significan number of RedHat, Debian, and CentOS users who strongly object to systemd yet are forced to use it because that's all their distro supports.

"Anyway, in reality, software does not become mature and well-tested without early exposure to real users and systems. Chicken-and-egg problem there."

You don't have to test it out on all RedHat users, all Debian users, all CentOS, etc, etc. Getting a bunch of volunteers and letting them use a feature-complete version for five or six years before springing it on the rest of us would have been a good start. Instead you get an ever-morphing and ever-growing trojan horse.

Re:Why Did It Take Devuan Two Years to Replace Systemd? by dijit on Wednesday July 12, 2017 @02:20PM (#14755088)
You will likely have this argument again so I need to point out two things:

1) Debian does support sysvinit right now, although with some packages having hard dependencies on systemd it might not be long before you hit a brick wall.

2) systemd (the init) was used by Fedora for a long time before getting into RHEL/CentOS- which is of course before it got into Debian. So there were volunteers.

Re:Why Did It Take Devuan Two Years to Replace Systemd? by mdekkers on Wednesday July 12, 2017 @02:32AM (#14750554)
You have to look at the larger vision for it being a set of building blocks for Linux system and service management

Many people did, and didn't like what they saw. They also didn't like the idea that it was very difficult to replace for something they did like.

Re:Why Did It Take Devuan Two Years to Replace Systemd? by dijit on Tuesday July 11, 2017 @05:07PM (#14748077)
> There are many distributions out there (including Devuan) which align with their particular vision of an OS should be.

None of which are used in many companies.

I'm pushing my company to go to FreeBSD, but there are many who are completely powerless.

"Oh you don't like systemd, better not work on any Linux systems in any company" is the basic gist of what this means.

Re:Why Did It Take Devuan Two Years to Replace Systemd? by dsfyu404ed on Tuesday July 11, 2017 @03:57PM (#14747477)
Don't forget security. When there's a problem with systemd shit hits the fan. When there's a problem with a widely used piece of software that only does one job the mess is smaller and easier to clean up.
Re:Why Did It Take Devuan Two Years to Replace Systemd? by KirinDave on Tuesday July 11, 2017 @07:33PM (#14748972)
I'm sorry, but this just isn't a fair comparison. Software is hard and the impact of software security issues is seldom limited to just one tiny place where it originates.
Re:Why Did It Take Devuan Two Years to Replace Systemd? by lomnakkus on Wednesday July 12, 2017 @12:39AM (#14750157)
What? Need I remind you of Heartbleed?
Re:Why Did It Take Devuan Two Years to Replace Systemd? by dsfyu404ed on Thursday July 13, 2017 @01:12PM (#14763063)
Yes, it was an issue in one moving part. The fix did not require significant tiptoeing around to prevent breaking everything else. It's a perfect example of the "do one thing well" philosophy paying off.
Re:Why Did It Take Devuan Two Years to Replace Systemd? by sseveran on Tuesday July 11, 2017 @04:20PM (#14747679)
All that may be true. But I prefer today writing a little file that is a systemd service than fixing up someone else's init scripts.

If it is as broken as you say why was it adopted?

Re:Why Did It Take Devuan Two Years to Replace Systemd? by bitwize on Tuesday July 11, 2017 @04:28PM (#14747771)
Because Lennart has a lot of pull at Red Hat, and Red Hat has a lot of pull in the Linux community.

The BSDs have really straightforward to maintain init scripts. Mainly because all the boilerplate junk is hidden in sourced-in files. Runit takes a more advanced approach, but its service files are still simple scripts a few lines long. We don't need a reinvent-the-world solution like systemd to address the most complained about problems with init.

Re:Why Did It Take Devuan Two Years to Replace Systemd? by jcrites on Tuesday July 11, 2017 @05:34PM (#14748285)
It was adopted because the maintainers of distributions like Debian examined the alternatives and decided that systemd was technically superior. For example, please see the analysis of systemd and upstart by Debian maintainer and then-Technical Committee member Russ Allbery: https://lists.debian.org/debian-ctte/2013/12/msg00234.html
Re:Why Did It Take Devuan Two Years to Replace Systemd? by JdeBP on Wednesday July 12, 2017 @02:34AM (#14750563)
> distributions like Debian

In fact, only Debian underwent that process. Ubuntu did not. Nor did Fedora.

The Arch process was very different.

* https://news.ycombinator.com/item?id=11834348

Re:Why Did It Take Devuan Two Years to Replace Systemd? by digi_owl on Wednesday July 12, 2017 @02:04PM (#14754917)
Well in a sense Ubuntu did by proxy. A big proponent of systemd within Debian works for Canonical, and Canonical had already stated that if Debian switched they would switch.

After all, Ubuntu is basically for Debain what RHEL is for Fedora.

Re:Why Did It Take Devuan Two Years to Replace Systemd? by horusthecat on Tuesday July 11, 2017 @04:32PM (#14747800)
> Because Lennart has a lot of pull at Red Hat... We don't need a reinvent-the-world solution like systemd to address the most complained about problems with init.

You work in software right?

You never ever "just" replace a system with an improved feature-alike product, you go apeshit crazy with cool stuff you wanted for the past 5 years but couldn't get approved, until you run out of budget. Duh.

Re:Why Did It Take Devuan Two Years to Replace Systemd? by KirinDave on Tuesday July 11, 2017 @05:00PM (#14748020)
They're straightforward because they both do less and appeal to she'll scripting to get it done.

I specifically want Turing completeness out of my configuration languages.

Re:Why Did It Take Devuan Two Years to Replace Systemd? by digi_owl on Wednesday July 12, 2017 @02:06PM (#14754942)
At the rate they are adding and modifying stuff, i am sure we can turn service files touring complete soon enough...
Re:Why Did It Take Devuan Two Years to Replace Systemd? by ksk on Tuesday July 11, 2017 @04:34PM (#14747814)
>, thereby violating the so-called Unix Philosophy of doing one-thing well. For a user app to do that is one thing, but for a core OS component to do that just smells way too much like forcing Linux to be more like Windows, which a lot of hard-core Linux users are ideologically opposed to.

That ship sailed a long ago when Linus ranted against microkernels :) Linux was never meant to follow a 'do one-thing well' design. It was designed to be a monolithic do-all-things design that's also highly modular.

Re:Why Did It Take Devuan Two Years to Replace Systemd? by pmoriarty on Tuesday July 11, 2017 @07:13PM (#14748857)
"That ship sailed a long ago when Linus ranted against microkernels"

Was Solaris a microkernel OS? How about SunOS? Irix? DEC OSF/1? HP/UX?

Last I checked, they weren't yet all were considered examples of Unix, and all existed before Linux.

Re:Why Did It Take Devuan Two Years to Replace Systemd? by ksk on Tuesday July 11, 2017 @11:58PM (#14750045)
That is great, but I'm not sure what I'm supposed to do with that information? I was merely responding to your inaccurate statement about Linux as it pertains to your opinion on what the "Unix Philosophy" is. Which itself is a mostly irrelevant vague and subjective term that anyone can apply in any way they seem fit, so I suppose there is no point in even arguing over it. Good day !
Re:Why Did It Take Devuan Two Years to Replace Systemd? by KirinDave on Tuesday July 11, 2017 @03:51PM (#14747409)
> One of the main problems was the speed with which systemd was rolled out on all the major Linux distros, despite it being relatively immature and very controversial at that.

I agree this is a big part of the problem, and appreciate it being raised.

> All of this adds up to a storm of controversy that the systemd people mostly brought upon themselves

I think Systemd comports itself as project exactly like most free software projects do, including Linux. Linus creates a template and then rages about how he doesn't like it.