There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Porting systemd to musl libc-powered Linux

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

MigratingtoLemmy ,

What is the aim of this project? Is there a reason why we want to port systemd to distributions which do not want to use glibc?

markstos ,

For all the cases where musk might have advantages.

reddit.com/…/what_are_the_advantages_of_using_mus…

I like that musl helps build smaller containers. And sometimes I need systemd in a container.

khorovodoved ,

Systemd bloats the container a lot more than glibc.

markstos ,

If I need systemd for a specific use, like testing systemd services, that’s essential, not bloat.

Zucca ,

I would say “finally”, but I’ve given up already.

I don’t see systems booting with systemd in any near future of any dimension. Instead I now run “terribly slow” OpenRC on my systems. Poor me.

khorovodoved ,

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?

intelisense ,

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

khorovodoved ,

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.

hornedfiend ,

Very very nice work. Thanks for your effort and willingness to experiment with new stuff. i would definitely be interested in trying it out once it reaches “production”.

aport ,

This is awesome work, I’m happy to see systemd on musl getting more attention. Poor Khem was doing it all by himself for years.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines