[CRIU] [PATCH 0/2] introduce --skip-mnt cli option

Oleg Nesterov oleg at redhat.com
Wed Apr 1 06:31:59 PDT 2015


On 04/01, Pavel Emelyanov wrote:
>
> On 03/31/2015 07:24 PM, Oleg Nesterov wrote:
> > Hello.
> >
> > To clarify: this depends on "[PATCH 0/5] parse_mountinfo: minor fixes
> > and cleanups" series I sent before. But this is completely orthogonal
> > to FSTYPE__AUTO feature we discuss in another thread, this series can
> > be applied (or nacked ;) independently.
> >
> > With this patch (plus FSTYPE__AUTO hacks) I can finally dump/restore
> >
> > 	perl -e 'close STDIN; close STDOUT; close STDERR; sleep'
> >
> > running with the unshared mnt ns on rhel-7 which has a lot of mounts
> > by default.
> >
> > "--enable-fs all" helps to dump xfs/configfs/more, but it obviously
> > can't handle "autofs". Now I can pass --skip-mnt /proc/sys/fs/binfmt_misc
> > to make it work.
>
> Is this because there are some entries in binfmt_misc?

Yes, although I do not know what these "register" and "status" mean, I
nevr used autofs.

But this doesn't matter. We obviously can't restore this mount without
special processing:

	40 17 0:33 / /proc/sys/fs/binfmt_misc rw,relatime shared:23 - autofs systemd-1 rw,fd=35,pgrp=1,timeout=300,minproto=5,maxproto=5,direct

(in fact I do not understand at all how criu could do this 100% correctly,
 but this doesn't matter).

Oleg.



More information about the CRIU mailing list