Bug#968425: mount cgroupv2 by default, similar to systemd

Harald Dunkel harri at afaics.de
Sat Aug 15 06:53:13 BST 2020


Package: initscripts
Version: 2.96-4
Severity: wishlist

To reduce friction between systemd and "non-systemd" systems I
would suggest to mount croupv2 very early at boot time, similar
to systemd.

Could be added next to /proc and /sys in mountkernfs.sh.


Background of this story is: systemd uses cgroupv2 by default,
if possible. Running in a container this has weird side effects,
if the host hasn't properly initialized cgroupv1 or cgroupv2. See

	https://github.com/lxc/lxc/issues/3520

for example. Best way out of this (IMHO) is to make cgroupv2 the
default.

Of course I can add a line to /etc/fstab (as I can do for /proc and
/sys), but this approach is error-prone.


Regards
Harri



More information about the Debian-init-diversity mailing list