[CRIU] mountinfo dump error
Adrian Reber
adrian at lisas.de
Tue Jul 21 06:26:26 PDT 2015
On Mon, Jul 20, 2015 at 02:54:25PM +0300, Andrew Vagin wrote:
> On Fri, Jul 17, 2015 at 07:37:53PM -0700, Ross Boucher wrote:
> > The issue was a bug in docker, the fix was merged in today. Now there's yet
> > another new criu failure:
> >
> > Error (mount.c:630): 115:./sys/fs/cgroup/hugetlb doesn't have a proper root
> > mount
>
> Docker starts to mount cgroups by default, these mounts should be added
> into req.Opts.ExtMnt.
>
> You can try to remove cgroup mounts from a container config and a
> container should be dumped successfully in this case:
> {
> Source: "cgroup",
> Destination: "/sys/fs/cgroup",
> Device: "cgroup",
> Flags: defaultMountFlags | syscall.MS_RDONLY,
> },
If I remove those lines I can checkpoint and restore a nginx container
with today's checkout of Ross' docker branch and today's checkout of
criu.
Adrian
More information about the CRIU
mailing list