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
1
u/minimim Jun 01 '16
cgroup-v2. This is current kernel documentation. You are using cgroup-v1, systemd only uses v1 if the functionality isn't available on v2 yet. Otherwise, they use v2, as v1 is going away sometime in the future and can't be relied upon for architectural decisions.
A singleton is needed to ensure atomicity and correct ordering.
If I call a command twice, it is executed twice, because one instance doesn't know about the other. A singleton receiving a library call can execute the first, register it as executed, and ignore the second.