319 points · by mroche · 6y ago · 247 comments
* Proposal E "Support for multiple init systems is Required" has been firmly rejected. (In the Debian voting system, rating an option worse than "Further discussion" effectively means considering it even unworthy of being in the ballot.)
* The core of Proposal B is «The Debian project recognizes that systemd service units are the preferred configuration for describing how to start a daemon/service. However, Debian remains an environment where developers and users can explore and develop alternate init systems and alternatives to systemd features. Those interested in exploring such alternatives need to provide the necessary development and packaging resources to do that work». The full text can be found at https://www.debian.org/vote/2019/vote_002#textb
* In case the message were not clear enough, the runner up option is Proposal E "Focus on systemd". Proposal E is also the most voted option.
> In case the message were not clear enough, the runner up option is Proposal E "Focus on systemd".
Typo here, Its proposal F: Focus on systemd which is the runnerup and like you said E has been rejected.
I'd say that in this voting system a statment like that is not really important in any way. You'd have to compare it to sum of options that don't focus on systemd as an example or some other combinations.
* fixed proposal letter in the quote
The strength of the Condorcet method is precisely that adding a new option cannot make an existing option beat another existing option. That is, there is no vote splitting.
But Proposal F is very clearly NOT above them all. 207 people preferred B over F, while only 185 people preferred F over B.
If F were above them all, it would be the Condorcet winner and hence would have necessarily won according to the Schulze method, which it didn't.
B actually is the Condorcet winner, as it would beat every single other option in a one-to-one contest. (The fact that B is the winner according to the Schulze method doesn't necessarily imply that it is the Condorcet winner, as there might not be a Condorcet winner.)
F being the "most voted option" is a misleading and mostly vacuous statement. All that can be said is that more people preferred F to "further discussion" (303 vs. 110), than preferred any other option to "further discussion". In particular, only 299 vs. 111 preferred B to "further discussion". However that has no bearing whatsoever on whether people preferred F over B.
(My theory for why B didn't beat "further discussion" by quite such a large margin as F did, is that in the case of B both the only-systemd "extremists" and the anti-systemd "extremists" preferred "further discussion" to B, while in the case of F only the anti-systemd "extremists" preferred "further discussion" to F.)
Totally agree.
> Looking at the most voted option tells you what the majority thinks.
My point is that the options are designed specifically for this type of voting system.
Here it is possible that anti-systemd votes are spread across many options and pro systemd votes are concentrated in only one or two. So even if you have most votes on "Focus on systemd" it doesn't mean that it is what most people want.
No it doesn't. (At least not with the definition of "most voted option" that was used by gioele.)
B would beat F in a one-to-one contest, so the majority thinks that "Systemd but we support exploring alternatives" is preferable to "Focus on systemd".
Why? On this case, all it means is that the "we would like to keep other stuff viable" is divided in 5 options.
apt-get install sysvinit-core sysvinit-utils
cp /usr/share/sysvinit/inittab /etc/inittab
reboot
apt-get remove --purge --auto-remove systemd
Our reasons for doing this are we run stripped-down systems that go for years (even decades), but which we absolutely must be able to fix ourselves with the proverbial rusty hairclip. The general bloat of linux distros (due to gnome/systemd and others) really doesn't suit our use case (although obviously it suits others, even the majority).It's a bit unsettling that people in the open source community need to work on this particular thing, but it's unfair to blame them for that. There are plenty of init systems other than systemd, and plenty of desktop projects other than Gnome, but most of them don't require so much downstream work. The amount of time that has to be spent by downstream projects to make systemd useful for as many people as possible, and to make Gnome available to as many users as possible, says a lot about how these projects are developed, too.
Adding code to one codebase isn't an "additional feature" if it means you can delete that code from half a dozen other codebases.
Horses for courses.
> Founded August 1997; 22 years ago
It's not about dropping, it's about how much effort the invididual maintainer must put into a package to support sysvinit, with the answer now being "none". The burden of work is shifted to from the maintainer those wishing to support sysvinit (or any other alternative).
The non-systemd crowd wrote elogind in response to this. But of course, now elogind is in a situation like WordPerfect was with Microsoft Word back in the 90's -- trying to remain compatible with a moving target.
So the point of this vote is to answer the question: How does a package manager of a package like the "Gnome desktop" interact with the non-systemd crowd, when they want to depend on a new feature that's in logind but not in elogind?
Option F is basically, "The package manager says, 'systemd is our primary init system; we depend on systemd's logind period.'"
Option B is, "The package manager says, 'I'm making this dependency change. Hope you can manage to get elogind up to scratch before the release; otherwise your package will be broken, but that's not my problem.'"
Options D and H were variants on, "The non-systemd people have 6 months to get elogind up to parity with logind. Before 6 months, a breaking change would have to be reverted before release; after 6 months, a breaking change is allowed in a release."
Personally I think H was the best option; the fact is they're all actually quite close. 425 people voted, and the deltas between them are 22, 31, and 34. The community is really quite divided still.
I would say categorizing systemd as "general bloat" is not entirely fair - I would say it is far more stable and easier to debug and fix (with the proverbial rusty hairclip) than debian's sysv init mess was last I looked at it and I would say systemd is actually quite lean both in absolute size, resource consumption and complexity.
I find it easier to debug and edit shell scripts than wade through large amounts of C code (and possibly recompile) in the event of a problem that can't be fixed by a simple reconfiguration. I guess it depends on what you're used to.
Specifically a problem that couldn't be fixed by changing systemd unit files?
(I don't mean for this to sound in bad faith; I'm genuinely curious as a user of systemd)
> A,B,F (#3,2,1)
> Maintainers do not have to write them and do not need to accept them.
Maintainers were failing to fix bugs in their init scripts, or even ship init scripts for critical services. The resolution was about trying to force them to include a very small shell script to do the job, and they balked.
There are a frightening number of maintainers who couldn't write a bash script to save their job, and even more maintainers who don't actually use or understand the package they are responsible for.
I suspect the long term damage here is going to be embedded and all the little projects that base off Debian.
However, I would claim that with a list of 8 options it is close to impossible for a human to come up with a stable ordering. If you were to vote 3 times or 5 times without being allowed to look at your previous ballot sheets, how much would the votes change?
To steelman a bit, let's consider a worst-case brute force manual tabulation of the results (there certainly may be more efficient ways to do it by hand than what I write here):
On a ranked ballot with 8 proposals, there's effectively (8 * 7)=56 binary options (do you prefer A over B, do you prefer B over A, do you prefer A over C, etc.)
In this vote, there were 452 valid ballots. 452 * 56 = 25,312 individual data points to tabulate, into a 8x8 matrix of results. If reading an individual result off a ballot and counting it takes a person 1-10 seconds, the entire tabulation would take 7-70 person-hours.
With that 8x8 matrix of individual results tabulated, determining the Condorcet winner (or the members of the Schulze set, if there's no Condorcet winner), takes less than 1 person-hour, by hand.
Now, that's certainly not an instantaneous result, but it's certainly within the realm of feasibility for a completely non-electronic election or referendum.
As another way of sanity-checking, consider that major elections in the U.S. often involve a combination of local, state, and federal ballots that can have upwards of 30 individual questions in total, and millions of ballots are cast, and results are typically certified within a fairly short timeframe.
It offline's certainly the case that an all-electronic vote is faster, more convenient, and that this lower cost can also allow for more proposals on the ballot, and more frequent and more granular elections, but I'd say it's a far cray from being "absolutely dependent on electronic vote".
(I hope what I mean is clear, if not feel free to push me for clarification)
https://www.debian.org/vote/2019/vote_002#textb
Choice 2: B: Systemd but we support exploring alternatives
Using its power under Constitution section 4.1 (5), the project issues the following statement describing our current position on Init systems, multiple init systems, and the use of systemd facilities. This statement describes the position of the project at the time it is adopted. That position may evolve as time passes without the need to resort to future general resolutions. The GR process remains available if the project needs a decision and cannot come to a consensus.
The Debian project recognizes that systemd service units are the preferred configuration for describing how to start a daemon/service. However, Debian remains an environment where developers and users can explore and develop alternate init systems and alternatives to systemd features. Those interested in exploring such alternatives need to provide the necessary development and packaging resources to do that work. Technologies such as elogind that facilitate exploring alternatives while running software that depends on some systemd interfaces remain important to Debian. It is important that the project support the efforts of developers working on such technologies where there is overlap between these technologies and the rest of the project, for example by reviewing patches and participating in discussions in a timely manner.
Packages should include service units or init scripts to start daemons and services. Packages may use any systemd facility at the package maintainer's discretion, provided that this is consistent with other Policy requirements and the normal expectation that packages shouldn't depend on experimental or unsupported (in Debian) features of other packages. Packages may include support for alternate init systems besides systemd and may include alternatives for any systemd-specific interfaces they use. Maintainers use their normal procedures for deciding which patches to include.
Debian is committed to working with derivatives that make different choices about init systems. As with all our interactions with downstreams, the relevant maintainers will work with the downstreams to figure out which changes it makes sense to fold into Debian and which changes remain purely in the derivative.
This part directly addresses the current issue; people were just ignoring those that were working to make non-systemd debian possible and were refusing to even talk about the issue. It will be interesting to see what happens now if those people continue to behave in the same way.
So this actually ends up being a victory for the non-systemd faction, at least in a political sense.
If it's about 'choice', go swap out your kernel for hurd or sth.
- systemd supporters are mainly desktop users, so their opinions are irrelevant because as a desktop user the only thing you might do is restart a service, is important to listen to server admins that know what they are talking about
- GNOME (other Red Hat tech) depends on a systemd component and refuses patches to make it independent, so basically GNOME is forcing systemd adoption and is trying to block alternatives by refusing patches
- systemd projects and fans will ask you to create a better alternative to systemd if you don't like it, but if you try to promote an alternative they will try to block the alternatives by refusing to accept patches to keep projects systemd independent.
Monoclultures are bad, when systemd will o longer be popular and we want to implement a better succesor we will discover that many things are hard coded to depend on some it's many components.
About what is the best init system, I don't know , I am desktop user, and as I said all desktop users opinions are probably "it works for me so you are wrong"
> is important to listen to server admins that know what they are talking about
Huh?
I got on the systemd train when race conditions with pidfiles caused essential services not to restart correctly for the umpteenth time on a small subset of the thousands of bare metal servers I managed.
Not a single sysadmin I worked with liked anything about sysvinit. Nearly every distro-provided init script for the services we cared about had some sort of subtle bug which we had to manually fix with our configuration management.
Or maybe somebody had been diagnosing an issue and manually run “sudo /etc/init.d/someservice start” and now congratulations, the service inherited the cwd of the person who ran the init script.
Or you have to deal with inconsistent log rotation behavior, or the service coming up before the network was ready on boot (better rename the symlink to 99_myservice!)
I don’t know where people get the idea that sysadmins prefer sysvinit. Maybe ones that only run one or two servers? After having managed tens of thousands of them across many datacenters, systemd is a clear and obvious win.
I personally had no issue with systemd or upstart or any other I used so I would wish desktop user like me would read more and comment less about what is better.
I don't see the difference between creating a systemd config file, which is super clear and managed properly and to create a bunch of init scripts that depend on pid-files which might be stale and where those directories are abitrary.
Scenario: a user is playing an audio stream that comes over the network. They put their computer to sleep. They restore it later, at another site.
Consider the dependency calculation to restore that mixing pipeline, without sending clicking noises to the user.
It depends on a systemd API and there is an independent implementation, elogind. GNOME runs just fine in the BSDs, so its dependency on systemd is a strawman.
sysvinit scripts are horrible to create and operate. It's easy to set tup dependencies for network or other services. I haven't used it to run cron-like tasks, or inetd-type servers, but I don't have a need for that.
If your trying to hastely safe shutdown “Waiting for process to stop - 3/8minutes”
Sure, you can alter the timer but that’s then just another task I shouldn’t need to do.
Dependencies within unit files
It’s own log formatting in a binary format
It’s icky, it feels clunky and while it works it doesn’t feel smooth.
systemd is really good at doing what it's told, if it's told something bad it will do something bad.
- init
- dependency management
- inetd-type spawning
- timed / cron launching
- managing processes depending on network state or filesystem mounting
- logging (replacing syslog)
- login (replacing login managers such as ConsoleKit)
- network configuration
- tmpfiles
- timedated (replacing ntpd)
- udev (userspace /dev manager)
- boot (replacing boot managers like grub)
As you can see, systemd has taken over a great many things that are totally unrelated to its core mission of replacing sysvinit. The fact that it continues to grow and take over all these other facilities and the fact that the systemd team actively fights people trying to develop alternatives is why people hate the project so much.
Never had this kinds of problems with any other init systems.
https://vote.debian.org/~secretary/gr_initsystems/
The ballot graph looks a bit strange to me. For one, votes seemed to come in all the way through the voting period, and actually increased just before the deadline. For two, nearly 20% of the ballots -- 100 out of 550 were rejected. I hope that's not evidence of "voting irregularities" -- the top 4 options were all within 50 points of each other.
EDIT: From the bottom of the page: "Most of the bad ballots are due to the presence of a non printing character (usually one that displays as a space) in the ballot that confuses the parser. "
Note that "Bad Ballot" is a specific category, with just seven such ballots counted in this vote, not 100.
The dozens that were rejected much earlier failed GPG signature checks, which means _anybody_ might have sent those because if they had a signature from a Debian Developer it wasn't valid. I could have sent one (I am not a Debian Developer). I could have sent thousands of them!
Most commonly what's going on is that somebody screwed up and either tries again soon after or reaches out to friends to ask er, wait, how do I do this routine voting thing again? I'd not be astonished if at least one person managed to screw up and not vote, but I would be shocked if it's enough people to actually matter. And I'd also question what the point is of being a "Debian Developer" if you can't follow the relatively simple instructions to vote.
In say a General Election we have to cater for the widest possible demographic. For example in England the rules say that any "unambiguous" vote counts. The instructions say to put an X in a box, but if you use a tick, that's fine. If you ignore the boxes and write in block caps "I vote for Steve Smith to be our MP" that's still fine (assuming Steve was a candidate in this election) because everybody can see you wanted Steve. If you cross out two of five candidates, circle two others and draw a smiley face... we can't tell who you wanted, sorry, invalid ballot. But that's because we're trying to capture _every voter_ so it would defeat the purpose of the poll to insist upon technical competence by voters. Debian isn't trying to do that, quite rightly.
Of 552 ballots receieved, 548 passed "MIME Decoded" and 459 passed "Sig Check", with 452 Votes Tallied and 7 Bad Ballot - so, the vast majority of the failed ballots had invalid GPG signatures.
This data doesn't tell you how many of the valid ballots were re-sends from voters who had previously sent in an invalid ballot.
So if someone screws up, they know and can resend.
Also, you're allowed to send in a second ballot which supersedes your previous ballot, up until the deadline. So if you change your mind during the voting period, you can update your selection.
That doesn't seem surprising at all; many people vote (and rally others to vote) just under the wire. The same pattern appears in conference submission graphs; there's always a huge number of submissions on the last day.
Seriously, opinion on systemd and choice of software used to fill the ballot seem likely to be correlated.
Not particularly relevant, but is there any reason to include that many digits, especially when the source-of-truth fraction is right there?
I wouldn't be surprised if that text is machine generated from a template.
Yeah, I am just end-user and I don't really care what is under the hood as long as it works, but isn't the biggest complaint against `systemd` is that it integrates a lot of other functions/subsystems that are not part of other init systems? And you kinda have to take whole package?
All this crud has just been left here to confuse users and I hate it.
Practically, I'm booting Linux and using systemctl like a boss, chiefly due to that 24hour/day invariant that nobody escapes.
Off the top of my head, issues I've seen with systemd:
* At some point there was no way to say, "bring up this service once the network is up". I mean, there was technically a "network" target, but it considered "localhost" as a network. So if, say, you have automounted NFS, the automounter starts running before your main interface has DHCP. This setup been a widely-used configuration for decades; the systemd maintainers didn't care.
* At some point, if you typed "reboot ; exit" in an ssh session, the "reboot" would hard-kill your ssh session and your shell before the "exit" would be run; so your ssh connection would then hang until the machine came up again and refused a TCP resend request.
* The whole thing with systemd reading the kernel's command-line, deciding that "debug" was meant for it, and spamming the logs making it completely unable to boot; and forcing the kernel to introduce a work-around to hide "debug" from systemd.
* The whole interface renaming thing that's happening in Debian now; every time our project has upgraded our test systems from jessie to stretch, and then stretch to buster, we've had to spend dozens of man-hours figuring out why our network configurations aren't working.
The problem here isn't so much that there are these sorts of bugs; the problem is that there seems to be an attitude of, "Well my set-up works; yours doesn't matter." That's not the attitude such a core piece of infrastructure should have.
Compare this to Linus' nearly fanatical insistence that things in userspace should continue to work. If Lennart Pottering had the same attitude towards breaking existing systems that Linus has, systemd would probably be incredibly popular.
ProTip, the ssh manpage has a great section on "Escape Characters".
By default you can terminate an open ssh-session by typing:
"Enter", "~", then ".".
There are other options, such as adding/listing port-forwarding at run-time and backgrounding your open ssh connection too.
ssh <host> "shutdown -h now ; exit"
[wait for the machine to stop responding to pings]
[wait for the machine to start responding to pings]
[Do the next thing]
...and if it didn't shut down within a certain amount of time, or come back up within a certain amount of time, treat it as a failure.With ssh hanging:
* If the shutdown/start again succeeds, then the "wait for it to stop responding to pings" happens after it's rebooted.
* If the boot doesn't succeed, the whole system waits for ssh's timeout (which is quite large) before failing.
EDIT: I should clarify, this issue has been fixed in Debian at least for a while; but I just tripped over it again when I was playing with an Ubuntu VM; maybe 16.04?
I thought the workaround patch was not merged?
(The bug wasn't that systemd generates debug output when the kernel command line contains 'debug"; the bug was something else, which caused systemd to generate an absurd amount of debug output.)
And anyway, the network-online.target mechanism always seemed like a hack added to placate the people who insist that it exist rather then fix their software to not couple tightly into the concept of "the" network being "online". ;)
Today (literally) I wanted to launch Xilinx hw_server as a daemon that my peers could restart if it broke itself (it's... prone to doing so). While I could write an init script that knew about PID files, creating a systemd unit was _vastly_ easier.
Yeah, it's not Unix, but UNIX is also sort of terrible for anything that's not a one-shot, no?
Sure, bazaars are nice, but times like this really make me appreciate cathedrals.
runit is one of them, daemontools is another. NB. runit is a daemontools clone that isn't written by Bernstein.
The main selling point seems to to be less complexity. Are there any drawbacks/gotchas one should be aware of?
The vast majority of people are fine with it, it's just the loud minority opposes it.
The bulk of linux userbase is systemd only: Centos, Ubuntu, Arch, Opensuse, Fedora. I think these 5 have already 90+% of installations.
That does not change your point about systemd adoption. Debian has been in practice systemd only for how many years?
https://lists.debian.org/debian-devel-announce/2014/08/msg00...
For the record, the TC expects maintainers to continue to support
the multiple available init systems in Debian. That includes
merging reasonable contributions, and not reverting existing
support without a compelling reason.
However, in practice Debian users tend not to replace systemd's PID1 with the sysvinit-core package, as it is installed on a negligible fraction of Debian systems.https://qa.debian.org/popcon-graph.php?packages=systemd%2C+s...
And way more than 10% if we consider that Ubuntu is built on Debian.
Exactly. As confirmed by this vote.
Distros adopted systemd because it solves a huge waste of time that distributors have to deal with: maintaining init scripts. systemd unit files are distro-agnostic and can thus be maintained upstream.
(There's also other useless idiosyncrasies that systemd plowed over, so there's even less work for distributors to do. Or rather, more time to do actually interesting work to differentiate their distribution.)
Sure, systemd has it's issues (notably scope creep) but for most use cases it is arguably an improvement.
There is absolutely no technical reason why different worlds cannot coexist, at least in our case.
It would be helpful to also have that shared in in a way that makes it easier to see how many top-ranks each choice had, how many bottom-ranks etc. But note that it seems that equal rankings are allowed, and many common ranked-choice cast vote record formats don't represent equal rankings.
Where it was shipping as a default and then was publicly questioned as to its utility?
Bash shell
Pulseaudio
The earliest days of grub bootloader, which is baroque complex compared to the LILO everyone used for years previous.
Classic nvi as default vi (as opposed to vim)
Some of the turn of the century weirdness around xfree86 and x.org fork battle
Frankly, worship of POSIX was always tiresome to deal with.
Anyway, Gnome was eventually downgraded into "an alternative"; Bash is not the default Debian default shell anymore, it's only default for interactive sessions; Pulse is impossible to get ride of nowadays and still impossible to use; the Grub one kept going until Grub2 that was actually better than LILO; vim won, hands down, as it should; everybody gave up on xfree86 once x.org become better.
Except for pulse, as soon as the preferred alternative became better than the one the change-resistant people wanted, resistance simply vanished. Pulse is outed on the above example because well, it never became better than the alternatives, but still there was never any sizeable resistance, just some noise or lack of it.
http://www.chiark.greenend.org.uk/pipermail/debian-init-dive...
For non-desktop computing, what we really need are distributed operating systems. We have been poorly cobbling them together for decades, yet only a few research operating systems actually ship the needed functionality. Currently we use an array of layers of things, like hypervisors, container schedulers, service meshes, etc to sort of fudge together something that can do distributed computing in very specific ways. But they're all very complex, costly, and time-consuming to set up, and usually tailored to specific use cases.
What we need is for Linux itself to natively ship all a distributed OS's features, so that apps can simply take advantage of them without having to be strapped into 20 layers of glue. But at the current pace of kernel development, I imagine it'd take 10 years to get all those patches developed, tested, and merged. So instead you could merge only the most core functionality, and extend the rest into the userland, and you'd get something kinda resembling systemd, but actually oriented toward running apps and services on a distributed network. I believe that would make most Linux-specific "cloud" technology obsolete, and in the process greatly simplify the entire technology stack, reducing TCO, speeding up development, and simplifying operations.
Assuming that gets developed, "exploring alternatives" is a necessity to eventually get it adopted into Debian, so I'm really glad at least the option is there.
Actually, with a tiny amount of human insight, what Option E forces is really either: Another vote to kick out the refuseniks because this is intolerable OR most Debian contributors quit and the project gradually stagnates.
The Diziet sobriquet seems appropriate. Diziet Sma is the Special Circumstances agent "running" the win-at-all-costs mercenary Zakalwe in Iain M Banks' novel "Use of Weapons". Win-at-all-costs is a reasonable strategic choice in the last place we see Zakalwe (the War on Hells in "Surface Detail") but it's probably a bad idea in a volunteer project like Debian.
Are there better examples of ways in which results like this can be presented more intuitively?
A good way to think of it is like this. Runoff-style systems have the goal of maximizing happiness: prioritize giving more people their high-rank options. Condorcet-style systems have the goal of minimizing unhappiness: minimize giving people their low-rank options. If you have an electorate between two partisan candidates and a centrist candidate, most people are partisans who prefer their partisan candidate, and the partisans are roughly equivalent in strength, a runoff system is going to eliminate the centrist candidate first and give the election to a partisan, while a Condorcet system will find that more people prefer the centrist to the wrong partisan and give the election to the centrist.
In case you don't have anything better to do for a week, the entire discussion can be read here, but be warned there's quite a bit of trolling in that thread: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727708