[Lxc-users] Do we have a plan to make the checkpoint/restart feature.

Serge Hallyn serge.hallyn at ubuntu.com
Wed Dec 4 18:12:20 UTC 2013


Quoting Nipun Arora (nipun at cs.columbia.edu):
> Hi,
> 
> I've been tryint criu for checkpointing and restart. One of the issues is
> that criu does not support external console.
> I tried setting lxc.console = none, and lxc.tty = 0... but seem to get no
> progress when I run the following command..
> 
> lxc-create -t ubuntu -n test_lxc -f test_config
> lxc-start -n test_lxc
> 
> The config file basically has only the following 2 lines
> lxc.console = none
> lxc.tty = 0
> 
> Can someone help out in explaining why this is happening?

I think it's been explained before - the external console points
to a device file sitting in another mount namespace.  criu can't
checkpoint that.

Back in the in-kernel checkpoint days, IIRC we allowed such files
to be marked as uncheckpointable in the image, and the restart
program to fill those fds in with fds it had opened beforehand.

Can that be done with crui?

-serge




More information about the lxc-users mailing list