[lxc-devel] dnsmasq and resolv.conf containers

2013-01-17 Thread Laurent Ducos
Hello. I use lxc and lxc-net on unbuntu 12.10 that works fine. My problem is about the /etc/resolv.conf file in the container. I think the file is written by dnsmasq when assigning dhcp lease Is it possible to tell dnsmasq : wrote "nameserver 8.8.8.8 nameserver 8.8.4.4" in place of the value of

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

2013-01-17 Thread Serge Hallyn
Quoting Brent Tubbs (brent.tu...@yougov.com): > 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

Re: [lxc-devel] dnsmasq and resolv.conf containers

2013-01-17 Thread Serge Hallyn
Quoting Laurent Ducos (laurent.du...@biblibre.com): > Hello. > > I use lxc and lxc-net on unbuntu 12.10 that works fine. > My problem is about the /etc/resolv.conf file in the container. > > I think the file is written by dnsmasq when assigning dhcp lease > > Is it possible to tell dnsmasq : wro

[lxc-devel] CentOS init.d services not started upon start

2013-01-17 Thread Shibashish
Hi, My runlevel services, i.e. whatever is in /etc/init.d/ is not started when I start a container using "/usr/bin/lxc-start -d -n myvm1". How do I start those automatically? I'm on CentOS 6.3, lxc built from git branch staging. Thanks. ShiB. while ( ! ( succeed = try() ) ); ---

[lxc-devel] [PATCH] don't leak the rootfs.pin fd into the container

2013-01-17 Thread Serge Hallyn
Only the container parent needs to keep that fd open. Close it as soon as the container's first task is spawned. Else it can show up in /proc/$$/fd in the container. Signed-off-by: Serge Hallyn --- src/lxc/start.c | 12 +++- src/lxc/start.h | 1 + 2 files changed, 8 insertions(+), 5 d

Re: [lxc-devel] [Lxc-users] CentOS init.d services not started upon start

2013-01-17 Thread Michael H. Warfield
On Thu, 2013-01-17 at 20:48 +0530, Shibashish wrote: > Hi, > My runlevel services, i.e. whatever is in /etc/init.d/ is not started when > I start a container using "/usr/bin/lxc-start -d -n myvm1". How do I start > those automatically? > I'm on CentOS 6.3, lxc built from git branch staging. Stra

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

2013-01-17 Thread Michael H. Warfield
On Wed, 2013-01-16 at 16:46 -0600, Serge Hallyn wrote: > 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,

Re: [lxc-devel] [Lxc-users] CentOS init.d services not started upon start

2013-01-17 Thread Shibashish
Thanks Mike for the reply. [root@myvm1 ~]# runlevel 3 3 I modified /etc/rc.d/rc.sysinit as suggested by http://lxc.teegra.net/#_init_setup and added the default gateway. On close inspection, i see that the default gw is not pushed and the services are still not starting up. Also, this behavior s

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

2013-01-17 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): > On Wed, 2013-01-16 at 16:46 -0600, Serge Hallyn wrote: > > 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 >

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

2013-01-17 Thread Brent Tubbs
If voice is a hassle I don't want to push it. I can have pmxbot join the meeting if you'd like an online log. On 1/17/13 6:30 AM, "Serge Hallyn" wrote: >Quoting Brent Tubbs (brent.tu...@yougov.com): >> Would love to join in and get some recommended best practices on app >> containers during tha

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

2013-01-17 Thread Serge Hallyn
Quoting Brent Tubbs (brent.tu...@yougov.com): > If voice is a hassle I don't want to push it. > > I can have pmxbot join the meeting if you'd like an online log. Sure, that'd be great. Just to check, does anyone who would want to join not know what mumble is, or not have a good way to install it

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

2013-01-17 Thread Dwight Engen
On Thu, 17 Jan 2013 15:36:36 -0600 Serge Hallyn wrote: > Quoting Brent Tubbs (brent.tu...@yougov.com): > > If voice is a hassle I don't want to push it. > > > > I can have pmxbot join the meeting if you'd like an online log. > > Sure, that'd be great. > > Just to check, does anyone who would w