[CRIU] problem dumping some kinds of lxc containers

Tycho Andersen tycho.andersen at canonical.com
Tue Aug 26 16:18:21 PDT 2014


Hi all,

I'm trying to dump an lxc container (created with the ubuntu-cloud
template). I get:

(00.563988) Error (files-reg.c:457): Can't link remap to /proc/20/mountinfo: No such file or directory

/proc/20 doesn't exist, and when this happens there is no pid in the
container with pid 20. This is a little confusing, though, since
fill_fdlink() takes a struct fd_parms with a pid in the host pid ns,
but gives back the path in the container pid ns.

After a bit of debugging, I found that the process that is causing
this problem is:

root     17593  0.3  0.0  26052  1340 ?        S    17:49   0:00 \_ mountall --daemon

If I try to checkpoint the container after mountall has exited, it all
works fine.

Any ideas what is going on here?

Thanks,

Tycho


More information about the CRIU mailing list