[lxc-devel] [lxc/lxc] 307ab0: Try to be more helpful on container startup failur...

GitHub noreply at github.com
Wed Jun 4 21:03:31 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 307ab05d0f0d62dfd3fc6bd965c317e8ca02fb1e
      https://github.com/lxc/lxc/commit/307ab05d0f0d62dfd3fc6bd965c317e8ca02fb1e
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-06-04 (Wed, 04 Jun 2014)

  Changed paths:
    M src/lxc/commands.c
    M src/lxc/lxc_start.c

  Log Message:
  -----------
  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 at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>




More information about the lxc-devel mailing list