[lxc-devel] [PATCH] lxc-shutdown: use posix shell instead of bash

2012-12-27 Thread Natanael Copa
- avoid getopt --longoptions - use 'which' instead of 'type' to detect existance of tools - specify -s SIG with kill Signed-off-by: Natanael Copa --- dash didn't complain when I tested it, but it did not shut down the container due to busybox init uses other signals for poweroff/reboot. The powe

[lxc-devel] [PATCH] separate console device from console log

2012-12-27 Thread Dwight Engen
lxc-start -c makes the named file/device the container's console, but using this with a regular file in order to get a log of the console output does not work very well if you also want to login on the console. This change implements an additional option (-L) to simply log the console's output to a

Re: [lxc-devel] [PATCH] Support MS_SHARED /

2012-12-27 Thread Michael H. Warfield
On Thu, 2012-12-20 at 09:03 -0600, Serge Hallyn wrote: > Quoting Stéphane Graber (stgra...@ubuntu.com): > > On 12/20/2012 06:58 AM, Serge Hallyn wrote: > ... > > /proc/mounts in the container will also end up being polluted by all the > > mount points from the host, this in itself doesn't cause any