[CRIU] [PATCH 0/1] report fd/path if dump_one_reg_file()->lookup_nsid_by_mnt_id() fails

Oleg Nesterov oleg at redhat.com
Tue Apr 21 10:14:28 PDT 2015


On 04/21, Pavel Emelyanov wrote:
>
> This is just to make sure I properly track what's going on with mount.c :)

A bit off-topic, but let me remind about another problem before I forgot...

	# unshare -m
	# perl -e 'sleep'

Now "criu dump -t `pidof perl`" fails with

	Error (files-reg.c:821): Unable to look up the 22 mount
	Error (cr-dump.c:1580): Dump files (pid: 10822) failed with -1

So there are 2 problems:

	1. The error message is confusing and doesn't help to understand
	   whats going on.

	   "Fixed" by this patch.

	2. Well, it would be nice to handle this case too.

	   Left as an exercise for criu developers.

Oleg.



More information about the CRIU mailing list