[lxc-devel] Failed to remove cgroup when lxc-start failed

Qiang Huang h.huangqiang at huawei.com
Thu May 30 00:56:58 UTC 2013


On 2013/5/29 21:47, Serge Hallyn wrote:
> 
> Right, so other failures later on *could* still cause this.
> Shall we do something like
> 
> 	{
> 		// Wait on any unterminated children
> 		int status, ret;
> 		while ((ret = waitpid(-1, &status, 0)) > 0);
> 	}
> 
> in lxc_abort() after the kill(handler->pid)?
> 

Yes, that look good to me :)

> .
> 






More information about the lxc-devel mailing list