Porting systemd to musl libc-powered Linux

A. Wilcox, the original creator of Adélie Linux, has ported systemd to musl, the glibc alternative.

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.

↫ A. Wilcox

I absolutely adore Adélie Linux as a project, even if I don’t run it myself, since they have a very practical approach to software. Systemd is popular for a reason – it’s fast and capable – and it only makes sense for Adélie to offer it as a potential option, even when using musl. Choice is a core value of the open source and Linux world, and that includes the choice to use systemd, even for a distribution that has traditionally used something else.

The port is already quite capable, and Wilcox managed to replace OpenRC on her system with systemd in-place, and it booted up just fine, and it also happened to boot in about a third of the time OpenRC did. It’s not ready for prime time yet, though, and most services are not yet packaged for systemd, an effort for which Adélie Linux intends to rely on upstream and cooperation with systemd experts from Gentoo and Fedora. They’re also working together with systemd, musl, and others to make any switching a user might want to do as easy as possible.

A beta or anything like that is still a ways off, but it’s an impressive amount of progress already.

11 Comments

  1. 2024-09-05 4:05 pm
  2. 2024-09-05 9:27 pm
    • 2024-09-06 1:05 am
      • 2024-09-06 9:19 am
        • 2024-09-06 9:31 am
    • 2024-09-06 6:25 pm
  3. 2024-09-06 1:02 am
    • 2024-09-12 7:54 am
      • 2024-09-12 8:29 am
  4. 2024-09-06 11:15 am

Leave a Reply