Just new I tried the updated CRIU:
>> Linux Image Version: 4.4.0.15.16 >> CRIU Version: 2.0-2ubuntu2 >> LXC Version: 2.0.0~rc12-0ubuntu1
The checkpoint step became success, but recovery step failed:
+ lxc-checkpoint -s -D /var/lib/lxc/cr-test/cp -n cr-test
+ lxc-checkpoint -r -D /var/lib/lxc/cr-test/cp -n cr-test lxc-checkpoint: criu.c: do_restore: 683 criu process exited 1, output: lxc-checkpoint: criu.c: do_restore: 631 Bad file descriptor - F_GETFD failed
lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/cgroup/systemd//lxc/cr-test lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/cgroup/cpu//lxc/cr-test lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/cgroup/freezer//lxc/cr-test lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/cgroup/perf_event//lxc/cr-test lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/cgroup/cpuset//lxc/cr-test lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/cgroup/pids//lxc/cr-test lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/cgroup/hugetlb//lxc/cr-test lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/cgroup/net_cls//lxc/cr-test lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/cgroup/blkio//lxc/cr-test lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/cgroup/memory//lxc/cr-test lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/cgroup/devices//lxc/cr-test lxc-checkpoint: criu.c: restore: 935 restore process died Restoring cr-test failed.
Just new I tried the updated CRIU:
>> Linux Image Version: 4.4.0.15.16
>> CRIU Version: 2.0-2ubuntu2
>> LXC Version: 2.0.0~rc12-0ubuntu1
The checkpoint step became success, but recovery step failed:
+ lxc-checkpoint -s -D /var/lib/ lxc/cr- test/cp -n cr-test
+ lxc-checkpoint -r -D /var/lib/ lxc/cr- test/cp -n cr-test
lxc-checkpoint: criu.c: do_restore: 683 criu process exited 1, output:
lxc-checkpoint: criu.c: do_restore: 631 Bad file descriptor - F_GETFD failed
lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/ cgroup/ systemd/ /lxc/cr- test cgroup/ cpu//lxc/ cr-test cgroup/ freezer/ /lxc/cr- test cgroup/ perf_event/ /lxc/cr- test cgroup/ cpuset/ /lxc/cr- test cgroup/ pids//lxc/ cr-test cgroup/ hugetlb/ /lxc/cr- test cgroup/ net_cls/ /lxc/cr- test cgroup/ blkio// lxc/cr- test cgroup/ memory/ /lxc/cr- test cgroup/ devices/ /lxc/cr- test
lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/
lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/
lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/
lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/
lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/
lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/
lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/
lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/
lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/
lxc-checkpoint: cgfsng.c: recursive_destroy: 999 Error destroying /sys/fs/
lxc-checkpoint: criu.c: restore: 935 restore process died
Restoring cr-test failed.