[CRIU] irmap: Can't stat /no-such-path: No such file or directory
Tycho Andersen
tycho.andersen at canonical.com
Fri Sep 4 20:17:47 PDT 2015
Hi all,
With newer versions of ubuntu (host and guest), I'm seeing the error
listed in the subject. The full log is:
http://paste.ubuntu.com/12279228/
It seems to me like we shouldn't be trying to stat no-such-path, but
that seems like the symptom of a larger problem which is that we can't
otherwise resolve the handle.
I resolved the inode using debugfs, and it says it's /var/log in the
container, which is not one of our heuristic paths we check:
# debugfs -R 'ncheck 525799' /dev/vda1
debugfs 1.42.12 (29-Aug-2014)
Inode Pathname
525799 /var/lib/lxd/containers/unpriv/rootfs/var/log
If I add this path (and several others, see the attached patch) to the
list of irmap hints, it works fine. Obviously this isn't sustainable
though; is there some nicer solution to this?
Thanks,
Tycho
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-irmap-hardcode-some-more-interesting-paths.patch
Type: text/x-diff
Size: 1074 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150904/30da7079/attachment.bin>
More information about the CRIU
mailing list