[CRIU] mountinfo dump error

Andrey Wagin avagin at gmail.com
Tue Jul 21 06:46:18 PDT 2015


2015-07-21 16:26 GMT+03:00 Adrian Reber <adrian at lisas.de>:
> 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.

I've fixed this issue in runc: https://github.com/opencontainers/runc/pull/142

>
>                 Adrian


More information about the CRIU mailing list