commit | f84404ff196d767fac22c293649caca5590840e1 | [log] [download] |
---|---|---|
author | Glauber Costa <glommer@parallels.com> | Tue Sep 25 15:29:22 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Tue Sep 25 15:29:22 2012 +0400 |
tree | 0fc1590236225a86980ce4e1d6f20724630f09c5 | |
parent | f985f997405f790e221005bf3d1bf489b749ac8a [diff] |
[upstream] vzctl stop: wait for tasks to vanish before considering empty complete We are currently facing problems because by the time we finish empty_container, some tasks may still be on their way to process the kill signal we just issued. A start / stop sequence can fail to cleanup the container due to that, and the same problem affects restart. Signed-off-by: Glauber Costa <glommer@parallels.com>