]> git.ipfire.org Git - thirdparty/lxc.git/commit
Try to be more helpful on container startup failure
authorStéphane Graber <stgraber@ubuntu.com>
Wed, 4 Jun 2014 18:05:25 +0000 (14:05 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 4 Jun 2014 21:03:24 +0000 (17:03 -0400)
commit307ab05d0f0d62dfd3fc6bd965c317e8ca02fb1e
treea27aab069249e39cf0d592da379fa2b10756a4e6
parent809a1539a3d83d0ea6f277519e6d43e75ccf1013
Try to be more helpful on container startup failure

This hides some of the confusing "command X failed to receive response"
why are usually caused by another more understandable error.

On failure to start() from lxc-start, a new error message is displayed,
suggesting the user sets logfile and loglevel and if using -d, restarts
the container in the foreground instead.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/commands.c
src/lxc/lxc_start.c