[CRIU] [PATCH 1/4] sk-unix: Save mnt_id for bindmounted entries

Cyrill Gorcunov gorcunov at gmail.com
Sat Aug 12 12:40:28 MSK 2017


On Wed, Aug 09, 2017 at 04:37:51PM -0700, Andrei Vagin wrote:
> > +
> > +		if (switch_ns_by_fd(mntns_fd, &mnt_ns_desc, &old_ns)) {
> 
> can we use open_mountpoint() and statat? A path to a socket may be
> over-mounted.

Doesn't work

(00.021241) Error (criu/mount.c:1037): mnt: Can't open ./zdtm/static/bind-mount-unix.test/criu-bind-log: No such device or address
(00.021246) Error (criu/sk-unix.c:816): sk unix: Can't open ./zdtm/static/bind-mount-unix.test/criu-bind-log



More information about the CRIU mailing list