Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
init.d/cgroups.in: fix inconsistency between mount_cgroups and mount_…
…cgroups 965de92 changed the default cgroup mode which exposes an issue in init.d/cgroups.in. While mount_cgroups defaults to 'unified' if rc_cgroup_mode is unset, cgroup2_controllers has no default and therefore has a mismatch with the logic in mount_cgroups. The two should be consistent so the flow makes sense, as mount_cgroups expects a certain path to be taken in cgroup2_controllers. Make cgroup2_controllers default to 'unified' if rc_cgroup_mode is unset, just like mount_cgroups. Bug: https://bugs.gentoo.org/916964 Thanks-to: [email protected]
- Loading branch information