|
|
Subscribe / Log in / New account

Adding systemd to postmarketOS

Adding systemd to postmarketOS

Posted Mar 8, 2024 13:53 UTC (Fri) by parametricpoly (subscriber, #143903)
In reply to: Adding systemd to postmarketOS by LtWorf
Parent article: Adding systemd to postmarketOS

I've seen discussions about this both in systemd and musl channels. I also know the musl's author (dalias). He's a great developer but doesn't like systemd at all. The musl channel has been full of people who think even openrc is too "heavy" so they prefer runit and other bsd/plan9 inspired niche init systems nobody uses in practice. I've also built systemd on top of musl with some patches. I don't think the patches were longer than 100 LOC or so. It's just that this was like 10 years ago and nothing has happened. It's becoming evident they don't want it to work.


to post comments

Adding systemd to postmarketOS

Posted Mar 8, 2024 14:38 UTC (Fri) by calebccff (subscriber, #165861) [Link] (1 responses)

the patches aren't hugely complicated, some OE folks rebase them (see what we're shipping in pmOS here https://gitlab.com/postmarketOS/pmaports/-/tree/systemd/s...)

The impression I've gotten so far is that musl don't want some things (like the printf extensions) for various reasons, POSIX being a motivating factor. Worth noting that systemd isn't explicitly tied to glibc, and for some things like basename() they're unhappy with any existing approach and use their own instead.

We expect that we'll have to carry some stuff in an external library if it's clear that neither project is willing to take it. Lennart has blessed this approach at least (we can have this dependency expressed in systemd). As things go it could certainly be worse, hopefully we can start finding a constructive way forward as frankly this whole situation is just detrimental to the ecosystem as a whole.

Adding systemd to postmarketOS

Posted Mar 8, 2024 20:23 UTC (Fri) by parametricpoly (subscriber, #143903) [Link]

I appreciate your efforts greatly. Thanks!


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds