Our great sponsors
-
bedrocklinux-userland
This tracks development for the things such as scripts and (defaults for) config files for Bedrock Linux
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
The author has a high-level overview doc here: https://github.com/davmac314/dinit/blob/master/doc/COMPARISO...
Now, of course, with service management the devil is in the details, so before you use something as system-wide init, I find it useful to ask yourself: How do they restart services? Do they give up at some point? How do they notify administrators of failures? Do they detect crashloops? How configurable is the logger? What CLIs are there to debug the state of the system (which service was first to fail, where is its definition)? How to make ephemeral or parametrised services? How to add pre-start, post-start, pre-stop, post-stop hooks? Can you use environment variables in your commands, and where do they come from?
I don't think you can find answers to some of these questions in docs. Once you do learn the answers, they may be disappointing - I indeed found myself quite disappointed in systemd after having to debug many failed-to-boot machines. With s6, I never run it, but there are few choices that raise eyebrows, e.g. the restart delay is hardcoded in source code to be 1 second. With dinit, I have yet to finish reading all its manpages, but at least timeout and restart policies are configurable.
There isn't something completely like that, but Fedora Silverblue comes really close (and [Universal Blue](https://universal-blue.org/) pushes it slightly closer)
> https://github.com/systemd/particleos
Related posts
- Une nouvelle mise à jour de Systemd permettra à Linux de bénéficier de l'infâme "écran bleu de la mort" de Windows, mais la fonctionnalité a reçu un accueil très mitigé
- When are we ditching systemd?
- So, what about systemd? (freebsd user, trying to switch to linux)
- How do I update one of these premade ESP32 boards?
- clang-15.0.7 seems to break binaries when used with -O2 flag