Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Oct 27, 2020
Merged

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

merged 1 commit into from Oct 27, 2020

Commits on Oct 27, 2020

  1. 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>
    r10r committed Oct 27, 2020
    Copy the full SHA
    7696c1f View commit details
    Browse the repository at this point in the history