[CRIU] CRIU LXC

Tycho Andersen tycho.andersen at canonical.com
Wed Oct 1 11:27:33 PDT 2014


Hi,

Let's try to keep LXC related problems on the LXC list, so as not to
bother the CRIU folks.

On Wed, Oct 01, 2014 at 07:06:45PM +0100, Thouraya TH wrote:
> Thanks a lot.
> 
> i have this on the first terminal:
> root at thouraya-Lenovo-3000-N500:~# lxc-attach -n u1
> root at u1:~# ls
> root at u1:~# ls
> root at u1:~#
> 
> in the second, i have done:
> root at thouraya-Lenovo-3000-N500:/home/thouraya# sudo lxc-checkpoint -s -D
> /tmp/checkpoint -n u1
> lxc_container: lxccontainer.c: exec_criu: 3566 Couldn't find criu binary

Your path is probably getting cleared when you do 'sudo' (you can
verify this by doing sudo which criu). Since you're running as root
anyway, you don't need to do sudo (or you can do sudo -E, or install
it somewhere that is on root's path).

Tycho


More information about the CRIU mailing list