Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 7696c1f9d1aed98a54bf7acd4c48799c395cdc64
      https://github.com/lxc/lxc/commit/7696c1f9d1aed98a54bf7acd4c48799c395cdc64
  Author: Ruben Jenster <r.jens...@drachenfels.de>
  Date:   2020-10-27 (Tue, 27 Oct 2020)

  Changed paths:
    M doc/lxc.container.conf.sgml.in
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/conf.h
    M src/lxc/confile.c

  Log Message:
  -----------
  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.jens...@drachenfels.de>


  Commit: a093bb0f5c3d61d3d098ddeea9722a135b95a36e
      https://github.com/lxc/lxc/commit/a093bb0f5c3d61d3d098ddeea9722a135b95a36e
  Author: Christian Brauner <christian.brau...@ubuntu.com>
  Date:   2020-10-27 (Tue, 27 Oct 2020)

  Changed paths:
    M doc/lxc.container.conf.sgml.in
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/conf.h
    M src/lxc/confile.c

  Log Message:
  -----------
  Merge pull request #3563 from Drachenfels-GmbH/cgroup-fixes

cgroups: Introduce lxc.cgroup.dir.monitor.pivot - fixes cgroup removal on 
termination


Compare: https://github.com/lxc/lxc/compare/5fd31e375f52...a093bb0f5c3d
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to