[Lxc-users] can't restart container without rebooting entire host, because can't delete cgroups files, tasks is 0

Brian K. White brian at aljex.com
Mon Nov 8 19:52:09 UTC 2010


On 11/8/2010 1:32 PM, Serge Hallyn wrote:
> Quoting Brian K. White (brian at aljex.com):
>> But also, since upgrading to kernel 2.6.36 (and already using lxc 0.7.2)
>> I haven't had to delete any cgroups manually anyways. It's probably not
>> my release_agent because I just noticed I didn't have a working
>> release_agent (no output in it's log, probably because the script wasn't
>> chmod 755)
>>
>> It's only been a couple days and only a few starts/stops while working
>> on a new start/stop/status init script though.
>
> Hm, really?  Can you please let me know if that continues to be the
> case?  If it is, then I won't bother with a patch for lxc.  Really,
> since it'll drop ns cgroup support anyway, I suppose the patch might
> not be worthwhile anyway.
>
> (I ran my test on a 2.6.35 kernel)
>

I might be full of crap. I forgot that I had added the find -delete 
command in the and of the "stop)" section of my new lxc init script, I 
will test more diligently and report back.

-- 
bkw




More information about the lxc-users mailing list