Fedora 38: Cannot use cgroupv1 due to systemd-oom

,

Hello everyone,

So I use Fedora 36 currently, but I wanted to run Fedora 38 in a VM to see if It is stable. Upon installation and setup, I notice I cannot use cgroups v1 with Fedora 38. It shows as tainted and it causes systemd-oom to fail. The problem is, I need cgroup v1 because I run CentOS 7 docker container with systemd, and without cgroup v1 on host, it will not load. Does that mean I am sol and would need to stay on older fedora release?

Thanks

1 Like

cgroupv1 has no future. The Linux kernel has moved on because if the problems with v1 that cannot be fixed.

You need to use software that supports cgroupv2.

Use podman to replace docker and you should be good.

Take a look at this:

https://fedoraproject.org/wiki/Common_F31_bugs#Docker_package_no_longer_available_and_will_not_run_by_default_.28due_to_switch_to_cgroups_v2.29

Switching to cgroupsv1 will stop systemd working completely in a near future release.
Too much of the Fedora software stack needs cgroupsv2 to function as designed.