[lxc-devel] [lxc/lxc] f37871: start.c: do not reboot on lxc.hook.post-stop fail

GitHub noreply at github.com
Tue Mar 1 16:53:53 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: f3787121a0482d1e8729722e4c5de98574fc9808
      https://github.com/lxc/lxc/commit/f3787121a0482d1e8729722e4c5de98574fc9808
  Author: Christian Brauner <christian.brauner at mailbox.org>
  Date:   2016-03-01 (Tue, 01 Mar 2016)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  start.c: do not reboot on lxc.hook.post-stop fail

lxc should not reboot the container when lxc.hook.post-stop fails. It should
simply shutdown. This makes the behavior of lxc.hook.post-stop and
lxc.hook.pre-start consistent. When lxc.hook.pre-start fails, the container
does not start.

Signed-off-by: Christian Brauner <christian.brauner at mailbox.org>


  Commit: ebffa9db70d4d56087b039748ef02125f90f3733
      https://github.com/lxc/lxc/commit/ebffa9db70d4d56087b039748ef02125f90f3733
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2016-03-01 (Tue, 01 Mar 2016)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  Merge pull request #862 from brauner/2016-03-01/post_stop_fail_no_reboot

start.c: do not reboot on lxc.hook.post-stop fail


Compare: https://github.com/lxc/lxc/compare/e6eb4c3e16ab...ebffa9db70d4


More information about the lxc-devel mailing list