]> git.ipfire.org Git - thirdparty/lxc.git/commit
Introduce lxc.cgroup.dir.monitor.pivot 3563/head
authorRuben Jenster <r.jenster@drachenfels.de>
Fri, 23 Oct 2020 09:33:38 +0000 (11:33 +0200)
committerRuben Jenster <r.jenster@drachenfels.de>
Tue, 27 Oct 2020 08:23:01 +0000 (09:23 +0100)
commit7696c1f9d1aed98a54bf7acd4c48799c395cdc64
treed2aed90ba23b4c8a82ff96e7fd6dee33ef809957
parentc8fe11552a41bd1abdc423dd2489539bc324afd9
Introduce lxc.cgroup.dir.monitor.pivot

On termination lxc may fail to remove either lxc.cgroup.dir or lxc.cgroup.dir.monitor,
because the monitor process may still be a member of either of these cgroups.
The pivot cgroup should not be a member (subpath) of any other container cgroup (dir).
because only empty cgroups can be removed.

Signed-off-by: Ruben Jenster <r.jenster@drachenfels.de>
doc/lxc.container.conf.sgml.in
src/lxc/cgroups/cgfsng.c
src/lxc/conf.h
src/lxc/confile.c