[CRIU] Dealing with other mount types

Pavel Emelyanov xemul at parallels.com
Thu Mar 26 07:59:30 PDT 2015


>>> I have written a test which reproduces this configuration and CRIU
>>> doesn't report any error. The test fails as expected, becuase CRIU
>>> doesn't support read-only bind-mounts.
>>
>> I've sent my test in the ML:
>> [PATCH] test: check read-only bind-mounts
> 
> Yes, I've just checked the patch and I see the same behavior. I think
> I was confused about what was going on before.
> 
> One thing is, with some patches to lxc I can actually c/r containers
> in this configuration, but your test seems to indicate that things
> will fail if something in the restored container tries to access files
> here. Is this something we should explicitly disallow?

Wait a second, guys :) I thought that Tycho meant that CRIU failed to dump such
mount points knot. Now it looks like CRIU can C/R it, but the restored result is
not correct.

So what the problem is?

-- Pavel



More information about the CRIU mailing list