]> git.ipfire.org Git - thirdparty/lxc.git/commit
cgroups: ignore cgroup2 limits on non-cgroup2 layouts
authorChristian Brauner <christian.brauner@ubuntu.com>
Sun, 3 May 2020 09:59:15 +0000 (11:59 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sun, 3 May 2020 09:59:15 +0000 (11:59 +0200)
commit0e7a013ee850f5388f17e562e663268f24903a9b
tree81c271faf7b9e9eba00432bc1eb037adac306930
parent95d4c1c42552de7576e08c9193bef0deab912f2a
cgroups: ignore cgroup2 limits on non-cgroup2 layouts

Mixing cgroup2 and legacy cgroup systems such that some controllers are enabled
in legacy cgroup hierarchies and other controllers in the unified hierarchies
is simply not something we're supporting. Even systemd's hybrid layout (crazy)
doesn't bind controllers to the unified cgroup hierarchy.

Fixes: #3183
Cc: Thomas Moschny <thomas.moschny@gmx.de>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgfsng.c