]> git.ipfire.org Git - thirdparty/lxc.git/commit
waitpid at abort to make sure we can rmdir cgroups
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 30 May 2013 16:22:16 +0000 (11:22 -0500)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 31 May 2013 12:45:23 +0000 (07:45 -0500)
commit73e608b21f73509c5f8c7a948cc6d4b0898edb2c
treec730e7b68045ba21d5030af80413c8554a9e262e
parent39dc698cb4025516a3428a68e19da05feb6fc0e9
waitpid at abort to make sure we can rmdir cgroups

If we abort the container start, and don't wait for the init task to be
reaped after we kill it, then we can't remove the container cgroup
because it is not empty.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/start.c