I have completed an initial new port of systemd to musl. This patch set does not share much in common with the existing OpenEmbedded patchset. I wanted to make a fully updated patch series targeting more current releases of systemd and musl, taking advantage of the latest features and updates in both. I also took a focus on writing patches that could be sent for consideration of inclusion upstream.

The final result is a system that appears to be surprisingly reliable considering the newness of the port, and very fast to boot.

And that is how I became the first person alive to see systemd passing its entire test suite on a big-endian 64-bit PowerPC musl libc system.

While the system works really well, and boots in 1/3rd the time of OpenRC on the same system, it isn’t ready for prime time just yet.

There aren’t any service unit files written or packaged yet, other than OpenSSH and utmps. We are working with our sponsor on an effort to add -systemd split packages to any of the packages with -openrc splits. We should be able to rely on upstream units where present, and lean on Gentoo and Fedora’s systemd experts to have good base files to reference when needed. I’ve already landed support for this in abuild.

This work is part of Adélie Linux

You are viewing a single thread.
View all comments
3 points

While I do appreciate the effort, I cannot understand, who in their right mind would use musl and systemd together. For what purpose? If a person was already willing to manage a musl system, why wouldn’t he also prefer sysVinit or runit or whatever?

permalink
report
reply
18 points

I want to try alpine out but the lack of systemd support is a blocker since I don’t want to add openrc support to all my Ansible playbooks that rely on systemd services and timers

permalink
report
parent
reply
3 points

It seems like postmarketOS is porting systemd to alpine for their next stable version, just something to keep an eye on

permalink
report
parent
reply
12 points

Maybe because that person uses systemd everywhere else and just doesn’t want the overhead of maintaining two different init systems.

permalink
report
parent
reply
1 point

He already has the overhead of maintaining to C libraries, which is a lot bigger problem.

permalink
report
parent
reply
1 point

Well then the answer will most likely be: because they can and want to do it.

permalink
report
parent
reply
11 points

The reasons for choosing Musl over glibc are largely unrelated for choosing a service manager. You can want one without the other just fine.

permalink
report
parent
reply
8 points

My understanding is that it boots faster. That’s a nice thing to have on a container that spins up on demand.

permalink
report
parent
reply
5 points
*

It boots faster than openRC (which is painfully slow). But runit is a lot faster than systemd, and there are init systems even faster than runit. And they all already work with musl. There is even dinit system specifically designed for containers.

permalink
report
parent
reply
1 point

What is the name of the dinit system designed for containers?

permalink
report
parent
reply
4 points

In general (there are exceptions) containers do not use service managers at all. They start 1 command and that’s it.

permalink
report
parent
reply
1 point

My understanding is that it boots faster.

I tested this with EL6 and EL7. There was no discernible difference. It was all theories and brochureware.

permalink
report
parent
reply
-7 points

I can’t understand anyone wanting that hot mess that is systemd anywhere. I’m only glad lennart went to microsoft so the pruning can begin.

permalink
report
parent
reply
3 points

There is no indication that anyone will be pruning systemd from distros in the near or far future. Systemd is here to stay and if anything it will only spread into more and more places as can be seen with projects like this.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 8K

    Monthly active users

  • 3.7K

    Posts

  • 48K

    Comments