Re: [lxc-devel] halt and restart bugs

2010-05-24 Thread Daniel Lezcano
On 05/23/2010 01:23 PM, Denis Rizaev wrote: > Patch attached. Applies against latest git. > Applied. Thanks Denis ! -- ___ Lxc-devel mailing list Lxc-devel@lists.sourceforg

Re: [lxc-devel] halt and restart bugs

2010-05-23 Thread Denis Rizaev
Patch attached. Applies against latest git. 2010/5/20 Daniel Lezcano > On 05/19/2010 11:07 PM, Denis Rizaev wrote: > > I did a little investigation about runlevels and i think we can assume > > runlevels 2-5 as normal. > > So, we can check if system was in runlevel 2-5 and proc count is 1 and >

Re: [lxc-devel] halt and restart bugs

2010-05-19 Thread Daniel Lezcano
On 05/19/2010 11:07 PM, Denis Rizaev wrote: > I did a little investigation about runlevels and i think we can assume > runlevels 2-5 as normal. > So, we can check if system was in runlevel 2-5 and proc count is 1 and now > we are in 0/6. > I can prepare patch tomorrow if you agree with my idea. De

Re: [lxc-devel] halt and restart bugs

2010-05-19 Thread Denis Rizaev
I did a little investigation about runlevels and i think we can assume runlevels 2-5 as normal. So, we can check if system was in runlevel 2-5 and proc count is 1 and now we are in 0/6. I can prepare patch tomorrow if you agree with my idea. 2010/5/20 Daniel Lezcano > > Fixed 2) with commits : >

Re: [lxc-devel] halt and restart bugs

2010-05-19 Thread Daniel Lezcano
On 05/10/2010 06:40 PM, Denis Rizaev wrote: > Hi folks. > I'm using latest lxc git tools on ubuntu host with debian containers. > And there are some bugs: > 1) In ubuntu, the default runlevel is 2, not 3. That's why reboot and halt > aren't handled properly. I've fixed it — patch is attached. But i

Re: [lxc-devel] halt and restart bugs

2010-05-11 Thread Daniel Lezcano
Denis Rizaev wrote: > Hi folks. > I'm using latest lxc git tools on ubuntu host with debian containers. > And there are some bugs: > 1) In ubuntu, the default runlevel is 2, not 3. That's why reboot and halt > aren't handled properly. I've fixed it — patch is attached. But it's a > distro-specific