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

Serge E. Hallyn serge.hallyn at canonical.com
Fri Nov 5 20:16:08 UTC 2010


Quoting Brian K. White (brian at aljex.com):
> On 11/5/2010 1:34 PM, Serge E. Hallyn wrote:
> > A few comments:
> >
> > 1. To remove the directories, rmdir all descendent directories.  I'd
> >     think something like 'find . -type d -print0 | xargs rmdir' would
> >     do.
> 
> I can't delete _anything_ in there. Not a file, let alone a directory 
> with or without files. Of course I tried that.

Yes, I assumed so.  My point was that you can't delete files.  You can
only do a simple rmdir on the cgroup directory itself.

-serge




More information about the lxc-users mailing list