[CRIU] Dealing with other mount types
Andrew Vagin
avagin at parallels.com
Wed Mar 25 10:11:39 PDT 2015
On Wed, Mar 25, 2015 at 08:09:38AM -0600, Tycho Andersen wrote:
> On Wed, Mar 25, 2015 at 04:05:57PM +0300, Pavel Emelyanov wrote:
> > On 03/24/2015 09:57 PM, Tycho Andersen wrote:
> I don't think so, because it's not external. In:
>
> 79 44 0:38 / /proc rw,nosuid,nodev,noexec,relatime - proc proc rw
> 80 81 0:38 /sys/net /proc/sys/net rw,nosuid,nodev,noexec,relatime - proc proc rw
> 81 79 0:38 /sys /proc/sys ro,nosuid,nodev,noexec,relatime - proc proc rw
>
> Here /proc/sys/net is mounted in the /sys dir of it's root fs, which is /proc,
> which itself is mounted at /proc in /. None of those are external bind mounts,
> the paths given as the mount point are just relative to their parent mount
> instead of the rootfs. So I think (?) all we need to do is walk these paths
> correctly, and not ask anything else of the user.
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 recoment you to create reproducers (tests) for each problem, you have
found. And then we will think how to fix each of them separately.
Thanks.
>
> Tycho
>
> > > Is there something else here that I'm missing?
> > >
> > > Tycho
> >
> > -- Pavel
> >
More information about the CRIU
mailing list