[lxc-devel] [lxc/lxc] fef9aa: do_lxcap_stop: wait until container is stopped
GitHub
noreply at github.com
Tue Apr 14 14:30:16 UTC 2015
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: fef9aa89e99285609d51848623f84ecd3a3109df
https://github.com/lxc/lxc/commit/fef9aa89e99285609d51848623f84ecd3a3109df
Author: Serge Hallyn <serge.hallyn at ubuntu.com>
Date: 2015-04-14 (Tue, 14 Apr 2015)
Changed paths:
M src/lxc/lxccontainer.c
Log Message:
-----------
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
success.
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
More information about the lxc-devel
mailing list