logoalt Hacker News

Replacing Systemd with OpenRC in Debian

50 pointsby nogajuntoday at 6:37 AM79 commentsview on HN

Comments

mid-kidtoday at 7:57 AM

Tbh, the installer was inevitable after systemd integrated a bootloader, crafted a paritioning scheme for autodiscovery, took over user and home directory management, and topped it off with an updater and "system extensions" layering system that some immutable distros are using.

I'm not saying any of this is particularly bad but it's been very clear fot a while that systemd just wants to be an OS. With immutable systems the "distribution" part of it is reduced to a build system, and everything else can be provided by systemd and flatpak.

show 3 replies
INTPenistoday at 8:36 AM

Systemd resistance is silly to me. Systemd is what is turning Linux into a viable modern OS. You need something to tie all the parts of the OS together with a unified API, otherwise you'll be fighting fragmentation constantly.

I don't like the age verification thing either, but all systemd did was add a field for it, it's still up to your distro to use it.

show 2 replies
0dayztoday at 8:52 AM

To this day I have not found a single modern argument against systemd that is a technical one (I tried systemd but it does not support x which openrc does), instead it's these vague bike shed arguments (Unix philosophy, anti-centralization and "bloat" ).

I can't wrap my head around it, since those 3 are a "you" problem, systemd is just a service manager it's you who decide to use other systemd parts.

show 4 replies
hks0today at 8:46 AM

I have a curious question. My local setup has worked for me for ages ever since arch decided to switch to systemd. Same on the servers I deal with, after Debian's switch. At the same time, I can say I'm not involved with inner workings of a Linux system enough, to be affected by init system change and the pain it might bring.

In other means consider me an average Joe of the Linux world.

Hence this question: If it sucks so much, why did it become so widespread?

show 2 replies
ChocolateGodtoday at 8:26 AM

This makes the mistake of confusing systemd the service manager and systemd the project. This is an easy mistake to make given they have the same name.

The systemd service manager does not have an installer, systemd-sysinstall is a separate tool that's part of the systemd project.

> systemd already integrated it, why (age verification)

systemd has not integrated age verification. All that's been discussed is a simple field to allow a user to register a DoB and an way for services to validate the user is over a certain age.

You could arguably already do this by having a DoB field for the user, but that'd involve giving applications your full DoB which I'm sure is distasteful for many.

> usual "fight" against non-sense laws

Because developers have to follow laws like everyone else?

jdw64today at 8:45 AM

I mainly use Ubuntu, so I know about systemd, but what is OpenRC? Why is there such a split, and why are people arguing about it in the comments? Could someone kindly explain it to me?

I only know how to control Linux through systemctl, and I don't know much beyond that. It seems like the components are different, but I'd appreciate it if someone could explain it to me.

show 2 replies
unsungNoveltytoday at 9:14 AM

Alpine Linux and Void are the only mainstream enough distro I can think of as an interest for my planB.

But I wonder how good Alpine is for desktop computing and development stuff. I know they have recently started shipping full DEs for desktop IIRC.

Anyone with any experiences?

atmanactivetoday at 8:00 AM

I'm confused... isn't Devuan exactly this?

show 2 replies
louskentoday at 7:59 AM

Just install devuan?

show 2 replies
mkespertoday at 8:12 AM

You do not have to use all resources that are under the systemd umbrella. That's just BS, sorry. And prod deployments breaking... Well I guess that never happened with those best-managed sysv init scripts? Guys, pick your fights reasonably.

show 3 replies
HackerThemAlltoday at 8:40 AM

Not long in the future we'll have "Systemd Linux".

show 2 replies
ErroneousBoshtoday at 8:12 AM

Interesting that it's kind of that simple. It looks almost like you could make a fairly straightforward fork that works with that, as long as they sysvinit packages are kept up-to-date.

I have to say while I dislike systemd it hasn't annoyed me enough to send me down that route yet.

show 1 reply
globular-toasttoday at 7:56 AM

I find it fascinating how different people are with respect to being able to see the future, or at least caring about it. I find many people are like lumbering beasts in a forest complaining when a twig pokes them in the eye. While other saw the forest from miles away and just went around it.

Gentoo is still home to a sizeable number of users who noped out of systemd more than 10 years ago. This is exactly the kind of thing they saw on the horizon. Why does it take others so long to see the same thing?

show 6 replies
pydrytoday at 7:54 AM

systemd desperately needs competition. it isnt just that it became a dependency for every low level service and a potential vector for privacy invasion, it's also janky to use.

show 4 replies
shevy-javatoday at 8:27 AM

The article makes one key mistake, in that it compares systemd to openrc. Aka some monster-system with billion features, to a fairly small system that juts relates to initializing a few things.

The whole debate about systemd has always been very dishonest from the systemd devs. If you have 3 million lines of code, for instance, and offer 5000 features, just to give out semi-random numbers, then every alternative with, say, 100.000 lines of code and only 50 features, will lose out by definition. Systemd has NEVER been solely or primarily been an "init" system. People need to stop buying the propaganda 1:1. That includes self-promo.

It is the same with age sniffing; some still believe it is about protecting kids. Then they were flabbergasted when governments - who suspiciously smell like corporate-controlled governments by the way, in particular in the UK - declare total war against VPNs. The excuse they use is not convincing at all, IF you buy into the assumption that this is about kids (which it is not).

On the other hand, when systemd decided to support age sniffing (https://github.com/systemd/systemd/pull/40954), I guess they went a step too far. People who weren't against systemd, look at it differently now. After all why is Poettering so defensive about systemd supporting age sniffing? All that tasty data that is to be amassed. Some private entities love that data. You have become the product.

As for "alternatives" to systemd, which is a misnomer IMO: I found that all the alternatives are pretty bad too. The best option is to try to stay as lean as possible without losing things that are objectively useful. Any init system that depends on shell scripts, already is a failure by design. (Systemd's unit files are also a failure; and the lack of transparency too. It is like the ultimate trojan horse.)

show 2 replies