Hi Serge,

> Thanks, Christian.  I did need the trivial white-space-damaged patch below, 
> but
> with that it built and ran for me, both with %n and default (/lxc/%n) 
> patterns.
> This was in a nested container, I haven't tested at host level but have no
> reason to think that would fail if nested worked :)
> 
> However I didn't get occasional cgroups left behind - every cgroup was left
> behind in my case.  I'll take another look.  I am to send acks and push
> tomorrow.

I think I found the problem with that... cgroup.c line 907,
lxc_cgroup_process_info_free_and_remove should call itself recursively,
but a C&P error on my end made it call lxc_cgroup_process_info_free
instead... So only in the first hierarchy are cgroups removed properly,
in the others they aren't.

As I said, there are probably still bugs in there. ;-)

-- Christian

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to