News for hackers. Stuff that matters.
Re:Nitro: A tiny but flexible init system and process superv... by imiric on Friday August 22, 2025 @05:21PM (#44989943)
I've gotten used to runit via Void Linux, and while it does the job of an init system, its UI and documentation leave something to be desired. The way logging is configured in particular was an exercise in frustration the last time I tried to set it up for a service.

I wouldn't mind trying something else that is as simple, but has sane defaults, better documentation, and a more intuitive UI.

Re:Nitro: A tiny but flexible init system and process superv... by cbzbc on Friday August 22, 2025 @07:18PM (#44991141)
runit doesn't always take care of services it manages in the same way as a proper init . From the man page:

"If runsvdir receives a TERM signal, it exits with 0 immediately"

Re:Nitro: A tiny but flexible init system and process superv... by Arch-TK on Friday August 22, 2025 @08:29PM (#44991704)
This is by design.

runsvdir receiving TERM should only happen when stage 2 is triggered to end.

Once that happens, the individual runsv processes are still supervising their individual tasks and can be requested to stop through their respective control sockets. It's how standard stage 3 is implemented.

Re:Nitro: A tiny but flexible init system and process superv... by nine_k on Friday August 22, 2025 @05:23PM (#44989970)
Logging in runit seems simple (I don't remember running into problems), but indeed, the documentation leaves much to be desired. Could be a good thing to contribute to Void Handbook.
Re:Nitro: A tiny but flexible init system and process superv... by kccqzy on Friday August 22, 2025 @11:55PM (#44992997)
I like using systemd but it also doesn't have great documentation either. I often find myself unable to grok things by only reading the official documentation and I have to resort to reading forum posts, other people's blogposts or Stack Overflow. To me documentation isn't good enough until it doesn't need any third party material.
Re:Nitro: A tiny but flexible init system and process superv... by JdeBP on Sunday August 24, 2025 @01:56PM (#45006242)
These aren't runit doco, but they should help with the concepts.

* https://jdebp.uk/FGA/daemontools-family.html#Logging

* https://jdebp.uk/Softwares/nosh/guide/logging.html