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

2013-01-16 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): > Serge, > > Revisiting an earlier remark... ... > > Now I tested, and with a simple setup we can use a much simpler > > patch which just does mount("", "/", NULL, MS_SLAVE|MS_REC, 0); > > for the whole of chroot_into_slave() (and skips the new umou

Re: [lxc-devel] [PATCH] use a default per-container logfile

2013-01-16 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): ... > We probably should have code to actually create the path if it's > missing, similar to what's done for /var/lib/lxc and /var/cache/lxc. How about the following patch on top of the original? log_open: make sure the parent directory for logfiles

Re: [lxc-devel] meeting on lxc with user namespaces?

2013-01-16 Thread Dwight Engen
On Wed, 16 Jan 2013 13:37:04 -0600 Serge Hallyn wrote: > Hi, > > Now that the core user namespace support is in both the 3.8 kernel > and in the lxc staging branch, I thought it might be good to have > a meeting to first make sure everyone understands what it is and > what it can do, and second

Re: [lxc-devel] meeting on lxc with user namespaces?

2013-01-16 Thread Brent Tubbs
Would love to join in and get some recommended best practices on app containers during that last section. +1 to using voice if it works for others. In my daily standup meetings, it seems to take twice as long when we use IRC instead of voice. Is there a logging bot in #lxcontainers? On 1/16/13

Re: [lxc-devel] meeting on lxc with user namespaces?

2013-01-16 Thread Stéphane Graber
On 01/16/2013 02:37 PM, Serge Hallyn wrote: > Hi, > > Now that the core user namespace support is in both the 3.8 kernel > and in the lxc staging branch, I thought it might be good to have > a meeting to first make sure everyone understands what it is and > what it can do, and second to discuss a

[lxc-devel] meeting on lxc with user namespaces?

2013-01-16 Thread Serge Hallyn
Hi, Now that the core user namespace support is in both the 3.8 kernel and in the lxc staging branch, I thought it might be good to have a meeting to first make sure everyone understands what it is and what it can do, and second to discuss a path for what we want userns support in lxc to look like

Re: [lxc-devel] [PATCH] use a default per-container logfile

2013-01-16 Thread Stéphane Graber
On 01/16/2013 12:02 AM, Serge Hallyn wrote: > [ Thanks to Stéphane and Dwight for the feedback on the previous patch ] > > Until now, if a lxc-* (i.e. lxc-start) command did not specify a logfile > (with -o logfile), the default was effectively 'none'. With this patch, > the default becomes $LOGP

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

2013-01-16 Thread Michael H. Warfield
Serge, Revisiting an earlier remark... 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 t