[lxc-devel] [PATCH] Add support for checkpoint and restore via CRIU

Tycho Andersen tycho.andersen at canonical.com
Sun Aug 24 18:21:56 UTC 2014


Hi Serge,

On Sat, Aug 23, 2014 at 02:29:46AM +0000, Serge Hallyn wrote:
> Hm, was trying this out tonight, but I keep getting
> 
> sh: 1: /usr/lib/x86_64-linux-gnu/lxc/lxc-restore-net: not found
> 
> despite the fact that I most certainly did copy lxc-restore-net into place:
> 
> -rwxr-xr-x 1 root root 452 Aug 23 02:09 /usr/lib/x86_64-linux-gnu/lxc/lxc-restore-net

That is odd. CRIU does this using system() before it pivot_roots, so I
think it should be ok. Not really sure what to suggest here :(

> Anyway, i did notice that the manpages aren't quite right.  The synopsis
> shows up as:
> 
> lxc-info {-n name} {-D checkpoint-dir} [-r restore] [-s stop] [-v verbose] [-d daemon] [-F foreground]
> 
> which makes it seem as though 'restore', 'stop', 'verbose', 'deamon', and 'foreground'
> are actually the arguments to pass to the short args.  I'm not very good at
> coming up with synopses, but probably best to either leave it as
> 
> lxc-info {-n name} {-D checkpoint-dir} [-r] [-s] [-v] [-d] [-F]
> 
> giving the longer option names below, or
> 
> or
> 
> lxc-info {-n name} {-D checkpoint-dir} [-r | --restore] [-s | --stop] [-v | --verbose] \
> 	[-d | --daemon] [-F | --foreground]

Ah, whoops, I misinterpreted the syntax there a bit. I will fix it and
re-post.

Tycho


More information about the lxc-devel mailing list