[lxc-devel] [PATCH] c/r: complain when criu isn't exec()'d correctly

Serge Hallyn serge.hallyn at ubuntu.com
Wed May 6 16:58:14 UTC 2015


Quoting Tycho Andersen (tycho.andersen at canonical.com):
> Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>

Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>

> ---
>  src/lxc/criu.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/lxc/criu.c b/src/lxc/criu.c
> index 1913473..5fbe7cb 100644
> --- a/src/lxc/criu.c
> +++ b/src/lxc/criu.c
> @@ -239,6 +239,7 @@ static bool criu_version_ok()
>  		close(pipes[1]);
>  		if (wait_for_pid(pid) < 0) {
>  			close(pipes[0]);
> +			SYSERROR("execing criu failed, is it installed?");
>  			return false;
>  		}
>  
> -- 
> 2.1.4
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel


More information about the lxc-devel mailing list