Re:Why Did ArchLinux Embrace Systemd? (2016)
by barbecue_sauce on Monday October 21, 2019 @12:28PM
(#21314170)
Is it correct to even say that systemd "brought" cgroups and lxc? They seem like fairly independent projects.
[ Parent
| on HN ]
Re:Why Did ArchLinux Embrace Systemd? (2016)
by simcop2387 on Monday October 21, 2019 @12:32PM
(#21314220)
systemd did bring them mainstream, but yea cgroups were around for years before systemd was a thing. But they were mostly independently managed by some small daemons that did things based off rules and other things like that mostly. Systemd changed how they got used, primarily because multiple management systems working with them tends to cause issues, but using them for low impact isolation and tracking of daemons automatically really turned them from something you'd independently setup to something that brings a lot of utility for just about every use-case everywhere.
You can still use cgroups independently with systemd, but it's recommended that you use a service and the delegate option to have systemd create a cgroup hierarchy and also know that it shouldn't mess with it after creating it. This lets you have your cake and eat it too if you have a case that systemd doesn't handle (I'm working on a setup with this myself for a coding sandbox setup).
Re:Why Did ArchLinux Embrace Systemd? (2016)
by djsumdog on Monday October 21, 2019 @12:41PM
(#21314316)
I think Docker had a bigger influence on cgroup use than systemd.
Re:Why Did ArchLinux Embrace Systemd? (2016)
by aidenn0 on Monday October 21, 2019 @03:11PM
(#21316053)
I disagree because everybody who uses Ubuntu is using systemd, but only a fraction of them use docker.
Re:Why Did ArchLinux Embrace Systemd? (2016)
by geggam on Monday October 21, 2019 @03:32PM
(#21316281)
Ubuntu uses snaps heavily bringing cgroups to play.
Re:Why Did ArchLinux Embrace Systemd? (2016)
by LinuxBender on Monday October 21, 2019 @01:54PM
(#21315197)
I agree with you and edited my wording.