[CRIU] [PATCH 1/2] cgroups: Add ability to reuse existing cgroup yard directory

Tycho Andersen tycho.andersen at canonical.com
Thu Jun 11 20:31:30 PDT 2015


On Thu, Jun 11, 2015 at 08:04:02PM +0300, Cyrill Gorcunov wrote:
> Currently we always create temporary directory where we restore
> cgroups, but this won't work in case if mounting cgroups is forbidden
> from inside of a container for some reason (as in OpenVZ kernel).
> 
> So one can pass --cgroup-yard option to specify an existing
> directory where cgroups are living. By default we assume it
> lays in /sys/fs/cgroup.

I thought we chose not to use /sys/fs/cgroup originally because
someone could unmount it from underneath us?

Tycho


More information about the CRIU mailing list