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

Tycho Andersen tycho.andersen at canonical.com
Tue Jun 16 09:45:24 PDT 2015


On Tue, Jun 16, 2015 at 07:39:52PM +0300, Pavel Emelyanov wrote:
> On 06/16/2015 07:34 PM, Tycho Andersen wrote:
> > On Tue, Jun 16, 2015 at 07:18:15PM +0300, Pavel Emelyanov wrote:
> >> Bad news, gents, I had to revert this patch since on our Jenkins
> >> by default cgroups were mounted R/O (new systemd) and it looks like
> >> this setup is trying to become standard.
> >>
> >> Since we cannot remount existing cgyard RW, let's get back to the
> >> manual cgyard construction we had untill better decision.
> > 
> > Oof. Just read the bug, that's unfortunate. I guess we could cache a
> > cgyard for the service, but that would only work for the service.
> 
> Well, service won't work for LXC tools and for Docker -- you both
> need --restore-sibling :)

Yep :(

> > Another option would be to look for cgmanager if it's there and use
> > that.
> 
> Is it standard component of distributions?

I don't think so (it is for Ubuntu, but I'm not aware of anyone else
packaging it).

Is the goal here just to speed up cgroup creation by avoiding the
extra mkdirs and mounts and such?

Tycho


More information about the CRIU mailing list