OpenRC has a long standing support for cgroups v1 and cgroups v2. When v2 (unified) was new, it made sense to support the current hybrid approach. The problem with hybrid mode is that controllers can only be assigned to either v1 or v2, but not both at the same time. These days I believe all common apps supports cgroups v2. Docker was one of the blockers in the past, but now fully supports v2 as well: https://docs.docker.com/config/containers/runmetrics/ I propose that Gentoo changes its default to cgroups v2 by changing "/etc/rc.conf" to rc_cgroup_mode="unified". This will benefit users as services automatically will be assigned to individual cgroups, making resource management in Gentoo better overall. Reproducible: Always
Additional comment. If we use unified cgroups by default in Gentoo, we could also implement cgroups for portage as suggested in https://bugs.gentoo.org/394419 I believe that systemd already uses unified cgroups by default.
This is fixed in 0.51. Thanks, William