mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-08-04 15:53:44 +00:00
Make two mounts, binds of the same file system, the first has root "/" and the second has a cut root "/auxiliary". This insures that on restore criu will mount the first mount first and latter bind the second from it. After set the first mount unbindable to check if restoring these flag does not interfere with restoring mounts. Before the fix in these series we had the error: (00.031286) 1: mnt: Mounting tmpfs @/tmp/.criu.mntns.wGroPU/12-0000000000/zdtm/static/unbindable.test/bind_of_unbindable (0) (00.031298) 1: mnt: Bind /tmp/.criu.mntns.wGroPU/12-0000000000/zdtm/static/unbindable.test/unbindable/auxiliary to /tmp/.criu.mntns.wGroPU/12-0000000000/zdtm/static/unbindable.test/bind_of_unbindable (00.031329) 1: Error (criu/mount.c:2298): mnt: Can't mount at /tmp/.criu.mntns.wGroPU/12-0000000000/zdtm/static/unbindable.test/bind_of_unbindable: Invalid argument https://bugs.openvz.org/browse/OVZ-7116 Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
1 line
38 B
Text
1 line
38 B
Text
{'flavor': 'ns uns', 'flags': 'suid'}
|