Live data from Hacker News

Systemd Creator Lands at Microsoft

phoronix.com

141–150 of 154 posts

Re: Systemd Creator Lands at Microsoft

#141

Earlier quoted context omitted.

> You will not have this without changing the kernel itself, /sbin/init needs to run as the root process of all other processes on the machine. By design, any implementation has to "take over the machine" in some sense. Not in the systemd sense of putting its fingers into everything. In fact, not at all. My init will be little more than Rich Felker's init; the difference is that you will be able to tell it to spawn a…

>Not in the systemd sense of putting its fingers into everything. It is unclear what this "putting its fingers" actually means besides "implementing features that other projects then want to use". Is openssl "putting its fingers" into everything because everyone uses it to implement TLS? >In other words, your claim that I cannot make an init that doesn't take over the machine is false. No I don't think so. I cannot r…

(Split my comment in two because HN complained it was too long.)

> It is unclear what this "putting its fingers" actually means...

Why does systemd need timers when cron exists? Why does systemd need to manage home directories? Why does systemd need to manage the network when daemons existed to do that?

You know what I mean. systemd does a lot of things that were originally outside the scope of an init/supervision system.

> How is this any different from using the supervision system as the init?...killing either one of them will take down the system.

Because the supervision system has a different purpose than the init. systemd is too big for what init should be. Init should be made so small that it cannot crash. Having a separate daemon, that could possibly be restarted if it crashes is a good idea.

In fact, if PID2 saves its state to a file every time it stops or starts something, then if it crashes and is restarted, it could just reload and carry on as normal. In fact, it could even have signal handlers for all signals and exec() itself in those signal handlers in order to ensure that it doesn't go down. And if you do a `kill -9 -1`, you deserve what happens. But even in that case, since Linux does not kill init, it could simply restart the supervision system which could then rebuild everything from scratch. Simple. And even if you do a `kill -9 2`, then the init, when it receives word that that happened, could do the same thing as a `kill -9 -1` (or use SIGTERM, whatever), then restart the supervision system, which would then restart everything.

This could work even if you're running a different supervision system under my init because it could just pretend that it had barely booted the computer after it kills/terminates everything and restarts the supervision system.

But should systemd trigger a bug that causes a crash, good luck. I hope it has ways to recover, like the signal handlers I laid out above.

With my design, killing one daemon or the other is not a way to take down the system. First, you can't kill init on Linux unless it crashes, and systemd is far more likely to crash. Second, if you kill the supervisor, the init can handle that. That's why you separate them.

> ...you can just implement backwards compatibility with systemd in your init, and then those daemons can run again. It is not like this is even hard to do this, you can see exactly what APIs it depends on....

The fact that those daemons are depending on an API is systemd subsuming them. Making systemd a dependency is subsuming them. Daemons shouldn't have dependencies on specific init/supervision systems. If they do, they are part of that system, not separate. It would be like programs that can only run as children of bash but not zsh. It is stupid, and it is systemd subsuming them.

> ...the libraries are not so useful to any other code.

So what if those libraries are not useful to other code? Make a library, have both link to it. It doesn't matter if they're the only users. They could also be the same binary, kind of like busybox, which would have the added benefit of the executable already being in memory when starting the supervisor.

> All this code must be able to run as root inside the service manager.

Which is why it should be as small as possible.

> ...They chose themselves to adopt it because it was good and it made their lives easier...

Poettering made systemd a good init for distros, not for users. He made it easy for distros to set up a distro. He spent less time making it easy for users to set up a system and administer it.

And then he used persuasion and advertising, as well as the power of the company behind him, to get distros to adopt it. You may not call that politics. Okay, whatever. He used persuasion on distros, which resulted in users being forced to use systemd or to switch distros. That force, called coercion, of distros on users is what they didn't like.

I used the word "politics" because "coercion" is stronger. But since you don't like the word "politics," I'll use "coercion" instead. Because that's what it was, even if Poettering wasn't applying the coercion himself.

> The reason users cannot make this choice is because the init system and service manager is primarily something that needs to get set up by the distro...

Again, distros can support multiple. See Gentoo.

Also, now you are admitting that users didn't have choice? Glad we agree on something. I just can't believe you think that was a good thing.

> The distro maintainer is actually the primary user of this type of software so what they say goes...

No, users are still the primary users, just like Microsoft is not the primary user of Windows. Microsoft can do things that are good for Microsoft and bad for users. Same thing happened with distros and systemd. I think that the revealing of the disdain distros had for their users was surprising and was part of the source of the anger.

And the fact that I have to convince distros to adopt my init is exactly why I'm not going to be pushing it. The Linux community does not need a repeat of the systemd debacle.

> ...Users that don't will do like you and leave for another distro, or create their own...

Because using computers for kicks and giggles is not why people use computers, in general. They use them to get stuff done. They don't like maintaining computers. They don't like taking time away from their actual tasks.

Well, switching distros takes time to reinstall, to debug hardware/driver issues, to learn how to install software, to install all of the required software, to learn how to use the distro, etc.

A lot of users were coerced into facing a choice: spend the time to learn systemd or spend the time to jump ship. Both choices were awful because they meant time spent away from the tasks they needed done.

Most decided that learning systemd would take less time, but that doesn't mean they were happy about it.

> You have even starting making your own init system! If what you say about "choice" was true, you would not even be able to do that.

This is only possible because I am a C programmer. Most Linux users are not. Claiming that I have choice because I have skills is a subtle way of discarding users who do not have that possibility. It's an elitist mindset, and it's a mindset I wish this industry didn't have.

I'm not concerned about systemd's restrictions on my choice; I always had the capacity to get around it. (Actually, I had to learn Gentoo, but it was worth it.) But most users do not have that capacity. They may not have the skills and the time to learn them.

Most users just want to get things done. systemd came in and made that harder, at least for a while, or maybe even permanently, and there is anger because of that.

> This is exactly what Lennart did...

Absolutely not. This is rewriting of history. He went to distros not end users. End users are who I care about, not distros.

> Systemd did actually solve a lot of problems the distros had.

Yes! You're absolutely right. It solved a lot of issues that distros had, but not users. I used the word "people," but I should have used "users" because, as I said, users are who matters.

Re: Systemd Creator Lands at Microsoft

#142

Earlier quoted context omitted.

> You will not have this without changing the kernel itself, /sbin/init needs to run as the root process of all other processes on the machine. By design, any implementation has to "take over the machine" in some sense. Not in the systemd sense of putting its fingers into everything. In fact, not at all. My init will be little more than Rich Felker's init; the difference is that you will be able to tell it to spawn a…

>Not in the systemd sense of putting its fingers into everything. It is unclear what this "putting its fingers" actually means besides "implementing features that other projects then want to use". Is openssl "putting its fingers" into everything because everyone uses it to implement TLS? >In other words, your claim that I cannot make an init that doesn't take over the machine is false. No I don't think so. I cannot r…

(This is the second part of my comments.)

> This does not scale beyond a very small number of users...

We are not talking about the Linux kernel. We are talking about an init/supervision system. Why are you moving the goalposts?

I would rather interact with individual users and delight them than have a massive audience. This has many benefits: you get friends, you have fun, and you have less bug reports!

But it does lead to bigger things. More on that later.

> By "peanut gallery" I am actually referring to people who don't use your software and who decided they don't like it...

I know. That's why I want to delight a few users than have many. By not spreading the message wide, I also avoid creating a "peanut gallery" of people. You only get a "peanut gallery" when such people can't ignore your software, so I'm going to make sure such people can ignore my software with no effort on their part.

> I have been trying to give you tips on how to promote your work and succeed, based on my own experience.

Your tips seem less than useful, and I guess I should explain why.

You don't know who you are talking to, which isn't surprising; my name is barely on Wikipedia in a footnote.

Let me enlighten you: I have code in FreeBSD. FreeBSD adopted a piece of software I wrote and put it into the base system. I did this by interacting with individual users and delighting them. One of them happened to care about this piece of software enough to push for it to be put into the base system.

So basically, I do what doesn't scale, and I got a lot of users from it. Didn't Paul Graham suggest doing something like that before? [1]

I know what I am doing when it comes to getting users. Sure, Poettering has more users, but I have more delighted users, and that's a win for me in my book.

> In the same way, you can just make a systemd interpreter.

systemd's language is underspecified. As someone who has written a compiler or two, I would rather walk on glass than implement an interpreter for something like that.

> But this is the tradeoff you have made personally. You can decide to support systemd, it's more work but you get more users.

I would get more users faster if I did that, but there's no guarantee I won't get the same amount of users eventually, even if I didn't. And like I said, I like to do things that don't scale because it's more fun.

> You can decide not to do that, it's less work and gives you some flexibility but it's risky.

Why is it risky? Risky in that I'm risking that people won't use my work? That's not a risk; it's not going to harm me if that happens. In fact, getting users faster is more risky in my eyes. Users are demanding when they are not delighted, and there is a risk of creating a "peanut gallery."

(I should write a blog post about these principles.)

> That is a choice you have made yourself to not be compatible with systemd, based on your own intelligence, it is not systemd somehow manipulating "politics" to make you do that or not do that.

I never said it was. I never said systemd's politics affected my choice to support its language. I said that its design affected my choice.

> No, I am sorry. I don't use my real name on here because I have been harassed online before...

So let me get this straight: you tell me to ignore the "peanut gallery," yet you create a new account to avoid them? I'm afraid I can't take any of your advice seriously now.

By the way, I agree that systemd detractors do harass, and that's never okay. I try to downvote them when they are, even though I don't like systemd.

(I will note that, to your credit, I have not seen you be toxic.)

But I've been harassed with this account, using my real name. I deal with it because that's the reality of our toxic industry. Perhaps I am better at dealing with the "peanut gallery" than you are?

Part of the reason I'm not happy with Poettering is because I believe he contributed to the toxicity, directly (by dismissing users, treating them disdainfully, etc.) and indirectly (by generating anger through indirect coercion).

That's also part of why I want to delight users: delighted people are usually less toxic.

> ...the systemd developers have actually received death threats before just because someone was mad at them for developing systemd.

I know about this, and it is unacceptable. For the record, if such people start using Ur (as they might), and then start doing this, I will hang them out to dry. They can go jump in a lake.

> I am not Lennart, I have never worked with Lennart, I am not a systemd developer, I am not a Red Hat employee or a Microsoft employee.

I guess I have to take your word for this because I have no proof of this.

[1]: http://paulgraham.com/ds.html

Re: Systemd Creator Lands at Microsoft

#143

Earlier quoted context omitted.

> You can still choose whatever you want, by removing systemd from your system and replacing it with something else. Oh, you can do it, but the experience of Devuan shows that it is not easy and takes expert work and a lot of time.

That is unrelated to the issue. Developing any OS is not easy and takes expert work and a lot of time. No one ever said it was going to be easy. There is no choice that frees you from doing that work. The "choice" is entirely about how you are going to approach that work, and who you have chosen to do the work.

Saying that choice still exists because it can be done is disingenuous when others are saying that choice doesn't exist for most people who can't do it.

Re: Systemd Creator Lands at Microsoft

#144
post #74

Earlier quoted context omitted.

So you think he ruined Linux? What does that imply about all the distro devs that chose to incorporate things he worked on? It must be a heavy burden to be so much smarter than all of them.

OSS is about choice. That's why i choose not to use such a distro.

Which is exactly how it works. Not sure about the casting aspersions bit though.

Re: Systemd Creator Lands at Microsoft

#145

As a NixOS user, I love systemd

I'm interested in NixOS but it only supports systemd. Seriously, init systems like OpenRC do one thing and do it well. Where have I heard that before?

NixOS does systemd right:

- systemd gives the use a unified API for working with services. The journal etc. - Nix gives the programmer a nice way to define systemd units.

If you hate systemd due to normal Linux..NixOS might change your mind.

Re: Systemd Creator Lands at Microsoft

#146
post #97
post #38

Earlier quoted context omitted.

On that front, thanks to anti-GPL folks, we are back into Shareware and Public Domain, although under different names.

Public Domain is a great way of releasing intellectual property for everyone to use. Trying to use GPL software makes you a target with angry techies constantly accusing you of not publishing complete diffs of changes needed to ship features. GPL fanatics are the most to blame for putting negative pressure on GPL. That is why Macs have wget instead of curl. GPL does not necessarily mean poison, but that is what it ha…

"That is why Macs have wget instead of curl." I got curious and decided to look that up. Did you mean to say "curl instead of wget"? "GPL does not necessarily mean poison, but that is what it has become." don't remember where i heard it first, but "with each iteration, GPL becomes less and less about freedom".

Re: Systemd Creator Lands at Microsoft

#148

The snobby attitude about Microsoft on HN makes no sense to me

Lots of people hate MS because of their monopolistic practices in the past. Myself, I always despised the company because of the complete shit quality of their software, starting with DOS. That was a pile of crap from day 1, and while much has changed since then, you can still see the complete disregard for quality in so much of what they do.

Software is going the way other industries go: no real competition, no quality.

It's not that they want to do bad software, it's just they don't have any short-term profit on doing so.

Re: Systemd Creator Lands at Microsoft

#149
post #64

Earlier quoted context omitted.

That was the bad old days. Things got better under Nadella. Just like they got steadily more evil at Google. There are no big corporations you can trust in the long term, but at least MS is behaving reasonably well right now.

> Things got better under Nadella - Windows is now a dumpster fire - Azure is a mess - surface computers suck + much more I feel like our definitions of “better” are very different

Well, yes. I'm talking about corporate trash antics like getting one of your insiders to wreck a competitor so you can buy out the scraps (Elop and Nokia), or using a proxy lawsuit to try to strangle the open opposition (SCO vs IBM). I'm not judging what's best on a technical level. No amount of hypothetical technical goodness can make up for Ballmer.

Re: Systemd Creator Lands at Microsoft

#150
post #86

Earlier quoted context omitted.

That was the bad old days. Things got better under Nadella. Just like they got steadily more evil at Google. There are no big corporations you can trust in the long term, but at least MS is behaving reasonably well right now.

once you discard the friendly appearing PR ("Microsoft <3 Linux") they're behaving exactly the same as they always have

If you think that, you don't know half the rotten, criminal shit Ballmer did.
Post reply on HN