[lxc-devel] [lxc/lxc] fef9aa: do_lxcap_stop: wait until container is stopped
noreply at github.com
Tue Apr 14 14:30:16 UTC 2015
Author: Serge Hallyn <serge.hallyn at ubuntu.com>
Date: 2015-04-14 (Tue, 14 Apr 2015)
do_lxcap_stop: wait until container is stopped
In the past, lxc-cmd-stop would wait until the command pipe was closed
before returning, ensuring that the container monitor had exited.
Now that we accept the actual success return value, lxcapi_stop can
return success before the monitor has fully exited.
So explicitly wait for the container to stop, when lxc-cmd-stop returned
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
More information about the lxc-devel