r/voidlinux • u/Signal_War1475 • Jun 13 '26
Why not dinit?
I usually don't care about init since its the most boring part of the stack but whats been bothering me is that void still uses runit. Runit lacks proper dependency management, cgroup based process management, socket activation, one shot services, proper parallelized early boot, env variable management etc. and turnstile+runit user service implementation too dosen't work as neatly as it should for more complex services such as launching gui reliant daemons for desktops and wm's. dinit, openrc or systemd could solve most of these issues.
22
u/Simple_Hamster_4096 Jun 13 '26
That's the great thing about GNU/Linux - if you don't like something about a distro, then don't use it - move on to a different one...
Try Devuan - they offer several choices of init...
Void is simple and uncomplicated... why tamper with a good thing?
43
u/ZombieCrow Jun 13 '26
As a regular user, I don't really care. Runit is extremely easy and simple to manage.
18
u/Any_Mycologist5811 Jun 13 '26
Maybe it's because the maintainers will need to make dinit service files to replace already existing scripts tied with many void packages. This cost is not cheap.
I'm just a regular user, feel free to correct me.
31
u/Opposite_Eagle6323 Jun 13 '26
Chimera Linux runs dinit as default. Chimera's founder is former Void developer.
7
u/stroke_999 Jun 13 '26
When void is born dinit wasn't there. Look at chimera Linux if you want something similar to void with dinit. However since dinit is a recent software chimera also is recent and it is in beta now.
5
u/captain_fanta_sea Jun 13 '26
For me, personally, I don't know what half of that stuff is, and I'm happy. I think that's why.
5
u/sdothum Jun 13 '26
Void is great for doing just this.. as i posted on this thread.
runit just works for the most part. But installing dinit along with turnstile is not a difficult transition... and easily reverted back.
4
u/Blank-Inspection13 Jun 13 '26
Why it's bothering you ? If you prefer to use dinit , no one stopping you to change your init system and use it . Like some people here in the forum succesfully replace runit with dinit or maybe even more advanced like s6.
Some people already shared their work so you can also have reference to use it , myself included.
It's fun experimentation , just be prepared for the risk & always have failsafe options.
3
u/bankroll5441 Jun 13 '26
I do not really care. Runit works perfectly fine for me. It starts the services I need running then gets out of my way, which is what I want.
12
u/juipeltje Jun 13 '26
I do like Runit for what it does and how fast it is, but tbh i do see your point. Depending on what you're looking for it might be too minimal for its own good. I've been using Guix for a while now, and i found myself really appreciating the features that Shepherd has, like one-shot services, dependency management, and also timers similar to systemd. User level service management is also pretty straightforward (well, excusing the whole configuration in guile scheme of course). You can even use Shepherd for managing your user services on other distros, which is pretty cool.
3
u/Lumpy_Roll158 Jun 13 '26
Well void chose runit since they first started and have just put all their chips on that. Iβd probably seriously consider using void again if they offered openrc (as the simple option), dinit, or s6 (as the extremely fast options) but they seem to refuse anything that isnβt runit. Which more power to them. Not being a fork distro allows them that freedom. I agree though runit is pretty primitive in function compared to other inits and while simple, will almost always demand more configuration to get things working to a comparable degree to others.
1
u/urandomread Jun 15 '26
You can use dinit for user services, it works quite good with turnstiled.
2
u/roninics Jun 20 '26 •
Hi, I'm doing this job!!!
https://codeberg.org/antofox/void-packages/src/branch/develop/srcpkgs
and first tutorial
https://codeberg.org/antofox/docs/src/branch/main/dinit.md
1
u/mufasathetiger Jun 14 '26
cmon, its an init system a simple init system, not a fucking NASA laboratory
0
u/Kooky_Fox_1085 Jun 13 '26
Non so molto bene cosa hai scritto ma Γ¨ un mio problema una mi mancanza di skill. Comunque nonostante tutte queste carenze che metti in evidenza devo dire si muove benissimo void !
4
u/[deleted] Jun 13 '26
[removed] β view removed comment
2
u/[deleted] Jun 13 '26
[removed] β view removed comment
0
u/[deleted] Jun 15 '26
[deleted] β view deleted comment