News for hackers. Stuff that matters.
Re:BSDs or Illumos may be good alternatives to Linux (2017) by pmoriarty on Tuesday November 27, 2018 @01:32AM (#18540002)
BSD doesn't have systemd. That's a huge win right there.
Re:BSDs or Illumos may be good alternatives to Linux (2017) by bayindirh on Tuesday November 27, 2018 @01:34AM (#18540019)
I also despised having systemd for some time, but it's not giving big headaches in our installations. So I adapted and got used to it.

Besides being a multi-role-somewhat-messy-blob, what are the grief points of systemd in 2018?

Edit: carified the question.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by rawfan on Tuesday November 27, 2018 @06:07AM (#18541319)
Check out https://twitter.com/systemdsucks

My biggest personal grievance is how it handles DNS or rather how unpredictable and undocumented the process is. If everything fails, e.g., they actually hard coded usage of 8.8.8.8. Not sure if that’s still there or configurable. The handling of actual security reports and CVEs is rather bad and you can see many examples of that on Github.

I’m not anti systemd and overall I welcome lots of contributions Lennard made in the past (pulseaudio, e.g.). With systemd it’s just too much functionality in one place. Do we really need an NTP alternative in systemd?

Re:BSDs or Illumos may be good alternatives to Linux (2017) by StevoNTF on Tuesday November 27, 2018 @02:32PM (#18545861)
for client machines looking for a very light alternative, perhaps. A project called Ntimed was started some time ago here at Network Time Foundation (nwtime.org), but the development stalled.

We'd really like to revive it, as there is demand for a lighter NTP client.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by bayindirh on Tuesday November 27, 2018 @03:21PM (#18546292)
What's wrong with chrony and ntpd? Just curious.

BTW, how can I contribute? I might get interested if I have time.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by bayindirh on Tuesday November 27, 2018 @06:23AM (#18541388)
Will check it, thanks.
Re:BSDs or Illumos may be good alternatives to Linux (2017) by jimpudar on Tuesday November 27, 2018 @02:03AM (#18540152)
I'm also wondering this. I've seen plenty of hate for systemd, but I've never personally run into any issues with it.
Re:BSDs or Illumos may be good alternatives to Linux (2017) by bayindirh on Tuesday November 27, 2018 @02:21AM (#18540234)
administration differences, not being designed according to UNIX principles and personal dislike towards developer(s) is coming to my mind.

administration differences is the most direct effect of systemd, but after learning its various compatibility layers and watchdog functions, it can be tamed to a great helper.

not being designed according to UNIX principles (composition of single-role small applications, which are doing their jobs very very well) is also bothering me, but we need to be pragmatic here. inter-process-communication cannot replace in-memory-communication in all cases it seems.

The hate towards the developer(s) is stemming from his attitude, history (he's also developer of pulseaudio IIRC) and somewhat from his coding style. It seems like he's a kind of guy who can defend his work, do this in an unorthodox way, make it work and got it accepted. At the end of the day, the hate is a feeling and is personal. I think we need to be pragmatic here too. Not that better communication from both parties will benefit everyone and everything in the long run.

At the end of the day, we are using systemd, and it's working. If we want a better system, we need to improve it. systemd is the state of the art right now, and we should either write something better or improve it if we have any beef with systemd itself.

OTOH, Beef with developers is something that should stay out of software and community in general.

My original comment was trying to explore whether there are more reasons to dislike it besides the original points that I stated above.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by edwr on Tuesday November 27, 2018 @04:01AM (#18540740)
"Those days are dead and gone and the eulogy was delivered by Perl." - Rob Pike on the UNIX principles
Re:BSDs or Illumos may be good alternatives to Linux (2017) by lloeki on Tuesday November 27, 2018 @05:59AM (#18541277)
> administration differences is the most direct effect of systemd, but after learning its various compatibility layers and watchdog functions, it can be tamed to a great helper.

It's both a negative and a positive. It's a change for sure but nowadays I can log into an ArchLinux, Fedora, Ubuntu, Debian,... machine and just leverage systemd instead of whatever local idiom (and its various assorted corner-cases) the distro decided to use. It's becoming the happy path of the XKCD comic about standards.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by bayindirh on Tuesday November 27, 2018 @06:04AM (#18541299)
I also like the usage homogeneity, but not everyone thinks the same way.

I also like the loginctl and service auto-recovery functions TBH.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by Nursie on Tuesday November 27, 2018 @02:19AM (#18540222)
The hate largely stems from the way it was rolled out - the linux community at large was left feeling like it had been told it would adopt this, and there was no choice, and that rubbed a lot of people up the wrong way.

It's also not 'the unix way' to have tightly bound, large blobs, and the team behind it seemed to take pains to say that lots of other things would rely on it, like udev, so there really was no choice.

So the hate comes from the idealogical side, largely.

Personally, having worked with it, I've rather liked writing service files and timers to get stuff done, it's much quicker to get something up and running than the old system.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by dvfjsdhgfv on Tuesday November 27, 2018 @02:44AM (#18540332)
> The hate largely stems from the way it was rolled out - the linux community at large was left feeling like it had been told it wold adopt this, and there was no choice, and that rubbed a lot of people up the wrong way.

It wasn't just a feeling, it really was just like that. Had the architecture of Systemd been different, it would have been possible to decouple it from other components and be able too choose an init system just like in the not so distant past. As it is now, practically speaking there is no choice.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by bayindirh on Tuesday November 27, 2018 @02:50AM (#18540355)
Doesn't Debian support[0] init system switching? Just curious.

[0]: https://wiki.debian.org/Init

Re:BSDs or Illumos may be good alternatives to Linux (2017) by rosser on Tuesday November 27, 2018 @03:38AM (#18540615)
It does, but packages aren't obligated to provide sysvinit scripts for your non-systemd-using convenience.

Over time, the number of packages that do will fall, because engineer convenience and cognitive bandwidth are incredibly high priorities; "that's the crusty old way while this is the new hotness"; and, "oh, but we need this one little thing systemd offers," &c.

And before you know it, those of us on the ops side are stuck supporting something we loathe, and having to rewrite a bunch of scripting and tooling in response to discovering new and exciting ways the "new hotness" ends up breaking things that worked perfectly well until it came along.

Literally, we're facing another iteration of that very cycle right now: our non-production environment refresh process suddenly fails to complete without being manually thumped at multiple points. Why? System fucking d.

But no: "It works fine for us, so it can't be a problem for anyone else, right? Right?"

Re:BSDs or Illumos may be good alternatives to Linux (2017) by craigsmansion on Tuesday November 27, 2018 @04:10AM (#18540780)
Debian recently reached out to Devuan for sysvinit maintenance. Devuan has, in spite of a somewhat acrimonious start, delivered what they set out to do, a Debian without SystemD, so it might be worth consideration when dist-upgrading.
Re:BSDs or Illumos may be good alternatives to Linux (2017) by bayindirh on Tuesday November 27, 2018 @04:27AM (#18540844)
You're right, I didn't take the scripts part into consideration, also the problem of breaking pipelines is real, there's no doubt about that.

However, dividing teams into developers and (Dev)Ops sides like warring factions is not healthy. I'm also an ops guy (more precisely a sysadmin who supports a lot of users and servers) in my day job, and a I develop stuff for academic world and for my own pleasure in my free time, so I know both sides of the so-called moat.

Using features because they're hot is not also OK for any application, but not using features which can solve real problems is unwise in my book. We also had hacks which were working perfectly fine until systemd came. We evolved, changed how we do things and moved along.

> "It works fine for us, so it can't be a problem for anyone else, right? Right?"

I didn't want to tell or imply anything resembling this. I just gave my own opinion, based on my experience.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by JdeBP on Tuesday November 27, 2018 @07:09AM (#18541628)
The Debian people were discussing what package maintainers are obligated to provide just a month ago.

* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911165

Re:BSDs or Illumos may be good alternatives to Linux (2017) by majewsky on Tuesday November 27, 2018 @04:16AM (#18540803)
> Over time, the number of packages that do will fall, because engineer convenience and cognitive bandwidth are incredibly high priorities; "that's the crusty old way while this is the new hotness"; and, "oh, but we need this one little thing systemd offers," &c.

The thing that many people don't understand about systemd is that they don't have to sell to users or developers, they have to sell to (and design for) distributors. Lennart and Kay know that because they are both working for distributors (Redhat and Suse, respectively).

To distributors, the promise of systemd is the promise of less integration work. It paves over a ton of useless idiosyncracies in distributions (e.g. compare systemd's /etc/os-release with the previous /etc/*-release files that you cannot even call by name because they were called something else on each distribution). Initscripts is the biggest bullet point in that list: Initscripts were always written by the distribution because each distribution had their own scripting layer on top of sysvinit to make it a bit nicer, and each of these was incompatible with those of other distributions. Systemd units, on the other hand, can be maintained by the application developers themselves, and several distros (e.g. the patch-hating Arch Linux) actively pushes systemd units upstream.

When the application developer takes care and has only one target (the de-facto standards forced by systemd), life gets a whole lot easier for distributors. And that's why distributors choose systemd.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by dvfjsdhgfv on Tuesday November 27, 2018 @08:24AM (#18542066)
Well, it doesn't explain why Debian gave in. They're supposed to listen to the people, aren't they?
Re:BSDs or Illumos may be good alternatives to Linux (2017) by bayindirh on Tuesday November 27, 2018 @12:51PM (#18544675)
They have listened to the people. Systemd has selected as a result of a poll [0].

[0] https://people.debian.org/~stapelberg/2013/05/27/systemd-sur...

Re:BSDs or Illumos may be good alternatives to Linux (2017) by craigsmansion on Tuesday November 27, 2018 @02:03PM (#18545509)
SystemD was selected by the Technical committee, which was very far from unanimous in the decision.

SystemD caused problems at the time and there was no reason not to postpone the decision to Jessie+1, which is what Debian usually does in such cases: "more discussion needed".

Debian broke their social contract, showing that their priority was no longer with their users.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by bayindirh on Tuesday November 27, 2018 @03:18PM (#18546276)
> SystemD was selected by the Technical committee, which was very far from unanimous in the decision.

I didn't know that. I thought the poll was open to anyone to vote for the relevant time window.

> Debian broke their social contract, showing that their priority was no longer with their users.

Isn't this a little bold claim? AFAICS, the poll has spotted the potential problems and general grievances pretty well (like binary logs, etc.), and concluded that these reservations should be addressed before systemd has included in Debian?

I'm not trying to defend systemd here. As I said in my comments, I disliked it first, and then I learnt and got used to it. My teammates has shown bigger reactions to it, and then they liked it too, after we configured it to behave the way we like. I didn't migrate to systemd voluntarily. It fell from above on me in a pretty hard way.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by JdeBP on Wednesday November 28, 2018 @04:08AM (#18550210)
If you don't know about the referral to the Debian Technical Committee, then there's a lot that you do not know (including to be wary of threads where "systemd" is mis-spelled "SystemD", as that is a common shibboleth).

There was a whole Hoo-Hah. It was years long. People resigned over it. The votes and discussions are often misrepresented by people recounting the tale. (Common misrepresentations: presenting it as a two-way contest between van Smoorenburg init+rc and systemd, when OpenRC and Upstart were both included, and both favoured over van Smoorenburg init+rc; presenting it as a single vote when there were several, including some votes on Debian General Resolutions by all of the club members; presenting the wiki pages written by the partisans and ignoring the lengthy technical reports from the TC members.)

Re:BSDs or Illumos may be good alternatives to Linux (2017) by bayindirh on Wednesday November 28, 2018 @12:57PM (#18553827)
I'm aware of the Debian's Technical Committee, but I was unable to follow them all-along during that so-called discussion.

During this period, I was a developer and so-called tech lead of a Debian derivative distro. We were working on some absurd requirement about generating system responses on some events, pulling continuous all-nighters. One day systemd packages arrived to Debian (sid or testing, I don't remember), and using it solved our problem. This is how I became aware that Debian packaged systemd, and it's gonna be the next default init, that's all.

As I said before, I don't blindly support systemd or anything. I'm just using Debian for 14 years or so, and I'm riding on what comes along. I don't have time to devote serious development time to them, however I wish I was able to contribute into Debian or any serious FOSS project. Hmprhf.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by krylon on Tuesday November 27, 2018 @06:28AM (#18541408)
Fwiw, some distros have stuck with different init systems: Void uses runit, Devuan (Debian fork) uses sysvinit, Gentoo uses OpenRC[1]. There are probably more that I am not aware of.

Systemd has not given me any trouble, yet, but I run Void in a VM, and it boots extremely fast.

[1] I believe one can also use different init systems on Gentoo, after all it is Gentoo, but I have not touched it in years, so I do not know for sure.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by nottorp on Tuesday November 27, 2018 @05:25AM (#18541113)
Well, yesterday I was messing with hostapd custom configurations, and starting/stopping it from systemd seems to give absolutely no feedback. It doesn't even tell me if it started or not. Very advanced and helpful, eh?
Re:BSDs or Illumos may be good alternatives to Linux (2017) by bayindirh on Tuesday November 27, 2018 @01:15PM (#18544951)
As an (un)written rule, UNIX commands are mostly silent, and output something if something went wrong. This is one of the things that systemd got right I think.

Yes, it feels awkward at first, but systemd's behavior is not wrong.

edit: oh, downvoted, OK. This is actually an outcome of rule of silence, which is part of the UNIX philosophy [0].

[0]: https://en.wikipedia.org/wiki/Unix_philosophy#Rule_of_Silenc...

Re:BSDs or Illumos may be good alternatives to Linux (2017) by baq on Tuesday November 27, 2018 @05:30AM (#18541144)
my ubuntu 16.04 LTS requires a 'service networking restart' after any update that touches systemd. having to log onto the vm console to do that kinda sucks.

otherwise i don't care what's under the hood.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by ernst_klim on Tuesday November 27, 2018 @05:38AM (#18541187)
Because the terribly slow startup times and scripts instead of configs are such an advantage. FreeBSD people want to build a systemd-like thing as well, they just don't have enough resources atm [1] (sorry for reddit, original is in German).

[1] https://www.reddit.com/r/linux/comments/2nhkx9/freebsds_jord...

Re:BSDs or Illumos may be good alternatives to Linux (2017) by krylon on Tuesday November 27, 2018 @07:38AM (#18541814)
There was episode of BSDNow where they interviewed Jordan Hubbard about this: https://www.freebsdnews.com/2015/10/31/bsdnow-tv-episode-113...

Personally, I never found startup time to be much of a problem, on any OS. But having an init system that automatically restarts crashed services and is able to properly shutdown services including any child process they might have spawned sounds nice.

One thing I do like a lot about the BSD init system is that the interface is a text file with a simple format. I hope when they replace good old rc, they keep the interface as simple as that.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by ernst_klim on Tuesday November 27, 2018 @12:55PM (#18544712)
>Personally, I never found startup time to be much of a problem, on any OS.

Well, start up problem is a matter of convenience, it's not a fatal problem, but I just like that my laptop with arch+systemd+systemd-boot starts instantly (3 seconds + 6 seconds for firmware), while bsd on my other laptop starts soo damn slow. (btw slow shutdown pisses me off even more)

Though the real issues with rc are much more serious, and eloquently described here (aka you don't have proper login management, service management, device and policy management, and better in a unified way):

https://www.youtube.com/watch?v=6AeWu1fZ7bY

Re:BSDs or Illumos may be good alternatives to Linux (2017) by loeg on Thursday November 29, 2018 @12:44AM (#18558359)
Heck http://0pointer.de/blog/projects/systemd.html is a good description of the real issues with rc, and I'm a FreeBSD dev.
Re:BSDs or Illumos may be good alternatives to Linux (2017) by JdeBP on Wednesday November 28, 2018 @04:14AM (#18550234)
They replaced good old rc in 2000 (mostly, OpenBSD holding out until 2011).

* https://lists.debian.org/debian-user/2018/11/msg00616.html

* http://jdebp.eu./FGA/rc.local-is-history.html

Re:BSDs or Illumos may be good alternatives to Linux (2017) by krylon on Friday November 30, 2018 @02:23PM (#18571818)
I first started using GNU/Linux (with sysvinit) in 2000. I still remember a) finding runlevels incredibly confusing, b) finding the entire concept stupid when I finally understood them, and c) the sense of relief I felt when I discovered FreeBSD in ~2003 and the fact that it pretty much did not have this nonsense. There used to be a single-user mode that was required for certain tasks, maybe that still is a thing - but even so, it was much easier to understand than System V init.

So let me rephrase my statement, I hope that if they replace the good _new_ rc, they keep the interface as simple. For all I care, it would not have to be exactly the same, but I sure hope it stays as simple. The fact that on FreeBSD, I just need to look at a single text file with an easy-to-read-and-edit format to see what is going on, is one of FreeBSD's greatest virtues, IMHO.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by snaky on Tuesday November 27, 2018 @05:32AM (#18541156)
Gentoo Linux is as close to BSD as possible, and have the -systemd USE flag.
Re:BSDs or Illumos may be good alternatives to Linux (2017) by jakeogh on Tuesday November 27, 2018 @03:37AM (#18540611)
eudev, elogind