[CRIU] Trying to Checkpoint LXC

Pavel Emelyanov xemul at parallels.com
Sat Nov 23 12:16:31 PST 2013


On 11/23/2013 01:35 AM, Nipun Arora wrote:
> (02.773070) tty: Dumping tty 68 with id 0x158
> (02.773214) Error (tty.c:221): tty: Unexpected format on path /dev/lxc/tty4
> (02.773278) ----------------------------------------


That's the reason of failure. If I'm not mistaken, this is an external console
of the container. We haven't looked at supporting such containers yet (we don't
create such when we start OpenVZ containers).

If you can configure your container not to create this thing, dump should
proceed. Another option could be to tune the tty.c file to detect LXC consoles
and dump them as such (most of the code should be there, we just need the
proper detection and a mark in the image file, that this thing is an LXC
console).

Thanks,
Pavel


More information about the CRIU mailing list