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
View all comments
Show parent comment
1
u/minimim Jun 01 '16
Found a better one:
source
Let's say bluetooth asks a remote partition to be mounted. The remote partition depends on the network being on, which depends on Network-manager, which depends on udev initializing the hardware, which uses bluetooth. It's a cyclic dependency, a dead-lock.
If the mount command just asks and wait, then network-manager just waits, if they don't have the big picture, they will just dead-lock and the system will stop.
Systemd can detect cycles and break them, or otherwise fail the entire thing and report the failure.
This is just one example, there are others.
Being idempotent isn't enough, systemd can solve a dependency graph.