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

Cyrill Gorcunov gorcunov at gmail.com
Wed May 27 07:04:54 PDT 2015


On Wed, May 27, 2015 at 09:59:47AM -0400, Christopher Covington wrote:
> On 05/27/2015 09:53 AM, 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.
> 
> It's not a big deal, but what about a more commonly used term like
> "--cgroup-path" or "--cgroup-dir"?

Well, actually I'm fine with any. 'yard' came from the code so
I used it.


More information about the CRIU mailing list