[CRIU] CRIU LXC error

Andrew Vagin avagin at parallels.com
Sun Feb 9 04:31:18 PST 2014


On Sun, Feb 09, 2014 at 11:31:23AM +0545, Urgen Sherpa wrote:
> Hello,
> system used: ubuntu 13.1 X64bit RAM: 2G (in VMware workstation 10.0.0)
> i was trying to check point lxc container[container=ubuntu 12.04] (using CRIU
> which i compiled from source using make).
> steps followed to check point were:-
> ////below commands are executed outside the container///////
> //also the console is none(by adding  lxc.console=none in file /var/lib/lxc/
> test-container ) and udev disabled with command
> ( mv /sbin/udevd{,.bcp} )
> #lxc-create -n test-container -t ubuntu
> 
> #lxc-start -n test-container -d
> 
> # lxc-info --name test-container
> state:   RUNNING
> pid:     1647
> root at ktmnp:/home/criu-1.1# ./criu dump -t 1647 -D /dumps/ --tcp-established
> --file-locks
> Error (parasite-syscall.c:387): si_code=4 si_pid=1936 si_status=5
> Error (parasite-syscall.c:387): si_code=4 si_pid=1939 si_status=5
> Error (parasite-syscall.c:387): si_code=4 si_pid=1940 si_status=5
> Error (tty.c:222): tty: Unexpected format on path /dev/lxc/tty4
> Error (cr-dump.c:1493): Dump files (pid: 2037) failed with -1
> Error (cr-dump.c:1828): Dumping FAILED.
> 
> any  help/ suggestions please!

CRIU doesn't support external terminals. You can add two lines in CT's
config file

lxc.console = none
lxc.tty = 0

http://criu.org/LXC

> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu



More information about the CRIU mailing list