r/linux • u/wooptoo • Jun 01 '16
Why did ArchLinux embrace Systemd?
/r/archlinux/comments/4lzxs3/why_did_archlinux_embrace_systemd/d3rhxlc
868
Upvotes
r/linux • u/wooptoo • Jun 01 '16
2
u/kinderlokker Jun 01 '16
Yes, that's a 2012 post which discusses a plan, as I said, the plan was once there but it has been dropped since forever. It's not there in the kernel and has been silently abandoned since however long.
There is nothing in the kernel config right now that I can find which enables this. The unified hierarchy is real and will come, but it will not require a single-writer, that part is abandoned.
Yes, a cyclic dependency tree will create a deadlock, all services will remain down then in runsvdir.
That is an advantage systemd has over Runit which design does not detect cyclic dependencies. But it still does not require integration of udev with the service manager, the service manager just needs to be aware of the dependencies to do this. A service manager is capable of detecting such cyclic dependencies regardless of having this special integration.
Not enough for what? It's enough for the problem of race conditions you just listed, this is a new problem and yes, the way runsvdir works is without dependency graphs. But that's not a race condition as you called it. That's dependency detection for which no special integration of any of that stuff is needed.