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 patch, so I think we need another distro-agnostic solution, > maybe config option for runlevels? >
Thanks for investigating the problem. I don't know how to deal with that, we discussed with Michael Tokarev about the shutdown / reboot problem and we agree the right solution is to have the kernel to notify the cinit's parent when sys_reboot is called. The present solution is a temporary 'hack' to fix up the current kernel leak functionality. So yes, adding a run level config option may do the trick for the moment. > 2) If we are in lxc-console and we type "reboot", container will not reboot, > it just halts — error log is attached. To reboot container we need to retire > from console quickly with C-a q after "reboot" command. > Good catch. Will fix that. Thanks -- Daniel ------------------------------------------------------------------------------ _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel