Quoting Serge E. Hallyn ([email protected]): > Checkpoint and restore task->fs. Tasks sharing task->fs will > share them again after restart.
Sigh. Shoulda written testcases in advance :) pwd restoration is fine. And technically root restoration is fine too. If any task which is not the container init did a chroot, the chroot is restored. However, the container init is chrooted (whether it was started using 'chroot app' or did a chroot() when it started up), then restart fails because the executable filename is relative to the chroot (i.e. /fssleep instead of /root/cr_tests/taskfs/tmp/fssleep), and isn't found. -serge _______________________________________________ Containers mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/containers _______________________________________________ Devel mailing list [email protected] https://openvz.org/mailman/listinfo/devel
