r/linux • • Jun 19 '26

Software Release systemd 261 Released With New systemd-sysinstall OS Installer, IMDSD & Storagectl

https://www.phoronix.com/news/systemd-261
304 Upvotes

128 comments sorted by

View all comments

Show parent comment

5

u/skewwhiffy Jun 20 '26

Oh, systemd's dependency management is a feature I like: it's much harder to tell runit, say, to not start service B until service A has started.

Another feature I really like are sockets: lazy start this service when it's wanted.

Of course, for most users, all of this is transparent. But having, say, my VPN service start whether I want to use it or not is a waste of resources is a little wasteful.

Having said that, it's also good that there are alternatives. I have a soft spot for Void, it's a really neat tidy distribution IMHO. Having dependencies on systemd in, for example, Gnome and Plasma's DM just shouldn't happen, not least because it makes them hard to port to non-Linux UNIX-in-practice systems, and having different init systems helps stop these dependencies becoming ubiquitous.

1

u/GrandBIRDLizard Jun 21 '26

While I can't argue it takes more effort. I enjoy the set up. And keeping my system modular and transparent is what I personally value most

And parllezation(contrary to popular belief for some reason) and lazy/pre-socket activation are entirely possible on Void.

Unix tools for the socket activation/forwarding have existed for a long time

on Void Specifically the most traditional way to achieve this is with inetd / xinetd, runit would manage inetd, and inetd would manage your service.(systemd uses inetd using process inheritance, er it's more like file descriptor inheritance but regardless)

also the tool socat is pretty neat, it simply listens on a port and executes a command for every connection.

s6 (a bit more sophisticated alternative to runit valuing modularity),
handles dependency management,
s6-networking: If you were to use it provides native tools like s6-tcpserver specifically designed for "lazy start" sockets.

and if you make any tools your self there's always inheritance, it's nice but it's fragile for single programs you don't want interrupted by anything else it's like hard-coding a dependency, ie: you are the thing you depend on. if it changes, you change. and there's nothing stopping another program from changing that.

It's especially frustrating in tooling for gaming where some games are coded to change logic like niceness or priority themselves. lots of games do this and it's been a pain making tools to improve performance without introducing heuristics ,poling or pid chasing but I actually think i may have figured a few things out today so the -9000 fake internet points was super worth it lol.

then there's straight UNIX-style control via cgroup-tools or libcgroups but i have a feeling you'd be more partial to s6/66

but there's no batteries included and if you have a complex set up it can be a pain but as a developer if you ever need a little system you have complete explicit control over Void is pretty comfy if you'd like to avoid a monolith.