]> git.ipfire.org Git - thirdparty/lxc.git/commit
cgfsng: mount pure unified cgroup layout correctly
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 26 Aug 2019 14:16:16 +0000 (16:16 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 2 Dec 2019 12:59:16 +0000 (13:59 +0100)
commit460bc2e85370ddf18607dd271477a6a7ad7a0cff
treee3d79b832f4dbea3c21d2636fefe3d1a430a14f5
parenta3f077d69aa9c38b4189fa2d5ef984ba1f5b6680
cgfsng: mount pure unified cgroup layout correctly

When pure cgroup unified mode is used we cannot pre-mount a tmpfs as this
confuses systemd.
Users should also set lxc.mount.auto = cgroup:force to ensure that systemd in
the container and on the host use identical cgroup layouts.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgfsng.c