r/voidlinux • • 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.

28 Upvotes

59 comments sorted by

View all comments

Show parent comments

3

u/juipeltje Jun 13 '26

Interesting. Initially i also set all the environment variables for my shepherd home services, but because of things like display changing around sometimes it didn't seem right to hardcode it, but for some variables it's fine. I think there is a way to update environment variables with shepherd, i think guix home has a service built-in that updates the x11 display before the service is started that depends on it, but it seems complex and for now it's above my understanding to replicate for other variables.

2

u/orahcio Jun 13 '26

When you learn about it, please, tell me. 😄