Re: [Lxc-users] [PATCH] ignore non-lxc configuration line

2011-06-01 Thread Michael H. Warfield
On Fri, 2011-05-13 at 22:32 +0200, Daniel Lezcano wrote: > From: Daniel Lezcano > We ignore the line of in the configuration file not beginning by "lxc." > So we can mix the configuration file with another information used for > another component through the lxc library. Wow... I seem to recal

Re: [Lxc-users] failed to create pty #0

2011-06-01 Thread Michael H. Warfield
Hey guys! I know, I know... This is like 9 months old. But I finally got caught between a rock and a hard place on Fedora 15 and was researching that problem (which others have pointed good pointers to on this list - thank you very much - got me going again) and I kept constantly running into th

Re: [Lxc-users] reboot fail on natty container on natty host

2011-06-01 Thread Daniel Lezcano
On 06/01/2011 12:33 PM, KATOH Yasufumi wrote: > Hi, > Can you reboot on console by lxc-console in a container? >HostOS: Ubuntu natty >lxc version: 0.7.4-0ubuntu7.1 > Good catch, thanks for reporting ! Fixed with this patch. Index: lxc/src/lxc/commands.c ==

Re: [Lxc-users] lxc_namespace - failed to clone(0x6c020000): Invalid argument

2011-06-01 Thread Daniel Lezcano
On 06/01/2011 03:06 PM, Ulli Horlacher wrote: > On Wed 2011-06-01 (14:40), Daniel Lezcano wrote: > >>> root@vms2:~# lxc-checkconfig >>> Kernel config /proc/config.gz not found, looking in other places... >>> Found kernel config file /boot/config-2.6.32-32-server >>> --- Namespaces --- >>> Namespace

Re: [Lxc-users] lxc_namespace - failed to clone(0x6c020000): Invalid argument

2011-06-01 Thread Daniel Lezcano
On 06/01/2011 02:56 PM, Clemens Perz wrote: > On 06/01/2011 02:39 PM, Daniel Lezcano wrote: >> On 06/01/2011 11:55 AM, Papp Tamas wrote: >>> On 06/01/2011 11:17 AM, Daniel Lezcano wrote: On 06/01/2011 10:45 AM, Ulli Horlacher wrote: [ ... ] > 2011-06-01 10:34:53 [ 5228.816214] de

Re: [Lxc-users] lxc_namespace - failed to clone(0x6c020000): Invalid argument

2011-06-01 Thread Ulli Horlacher
On Wed 2011-06-01 (14:40), Daniel Lezcano wrote: > > root@vms2:~# lxc-checkconfig > > Kernel config /proc/config.gz not found, looking in other places... > > Found kernel config file /boot/config-2.6.32-32-server > > --- Namespaces --- > > Namespaces: enabled > > Utsname namespace: enabled > > Ipc

Re: [Lxc-users] lxc_namespace - failed to clone(0x6c020000): Invalid argument

2011-06-01 Thread Clemens Perz
On 06/01/2011 02:39 PM, Daniel Lezcano wrote: > On 06/01/2011 11:55 AM, Papp Tamas wrote: >> On 06/01/2011 11:17 AM, Daniel Lezcano wrote: >>> On 06/01/2011 10:45 AM, Ulli Horlacher wrote: >>> >>> [ ... ] 2011-06-01 10:34:53 [ 5228.816214] device vetheBqcj5 entered promiscuous mode

Re: [Lxc-users] lxc_namespace - failed to clone(0x6c020000): Invalid argument

2011-06-01 Thread Daniel Lezcano
On 06/01/2011 12:25 PM, Ulli Horlacher wrote: > On Wed 2011-06-01 (11:17), Daniel Lezcano wrote: >> On 06/01/2011 10:45 AM, Ulli Horlacher wrote: >> >> [ ... ] >> >>> 2011-06-01 10:34:53 [ 5228.816214] device vetheBqcj5 entered promiscuous >>> mode >>> 2011-06-01 10:34:53 [ 5228.817240] ADDRCONF(N

Re: [Lxc-users] lxc_namespace - failed to clone(0x6c020000): Invalid argument

2011-06-01 Thread Daniel Lezcano
On 06/01/2011 11:55 AM, Papp Tamas wrote: > On 06/01/2011 11:17 AM, Daniel Lezcano wrote: >> On 06/01/2011 10:45 AM, Ulli Horlacher wrote: >> >> [ ... ] >>> 2011-06-01 10:34:53 [ 5228.816214] device vetheBqcj5 entered promiscuous >>> mode >>> 2011-06-01 10:34:53 [ 5228.817240] ADDRCONF(NETDEV_UP):

[Lxc-users] reboot fail on natty container on natty host

2011-06-01 Thread KATOH Yasufumi
Hi, Can you reboot on console by lxc-console in a container? HostOS: Ubuntu natty lxc version: 0.7.4-0ubuntu7.1 I make a natty container on natty host. # lxc-create -t natty -n natty01 I start the container, and run lxc-console, then run reboot on the console. # lxc-start -n natty01 -d -o

Re: [Lxc-users] lxc_namespace - failed to clone(0x6c020000): Invalid argument

2011-06-01 Thread Ulli Horlacher
On Wed 2011-06-01 (11:17), Daniel Lezcano wrote: > On 06/01/2011 10:45 AM, Ulli Horlacher wrote: > > [ ... ] > > > 2011-06-01 10:34:53 [ 5228.816214] device vetheBqcj5 entered promiscuous > > mode > > 2011-06-01 10:34:53 [ 5228.817240] ADDRCONF(NETDEV_UP): vetheBqcj5: link is > > not ready > >

Re: [Lxc-users] lxc_namespace - failed to clone(0x6c020000): Invalid argument

2011-06-01 Thread Papp Tamas
On 06/01/2011 11:17 AM, Daniel Lezcano wrote: > On 06/01/2011 10:45 AM, Ulli Horlacher wrote: > > [ ... ] >> 2011-06-01 10:34:53 [ 5228.816214] device vetheBqcj5 entered promiscuous mode >> 2011-06-01 10:34:53 [ 5228.817240] ADDRCONF(NETDEV_UP): vetheBqcj5: link is >> not ready >> >> This is stran

Re: [Lxc-users] lxc_namespace - failed to clone(0x6c020000): Invalid argument

2011-06-01 Thread Daniel Lezcano
On 06/01/2011 10:45 AM, Ulli Horlacher wrote: [ ... ] > 2011-06-01 10:34:53 [ 5228.816214] device vetheBqcj5 entered promiscuous mode > 2011-06-01 10:34:53 [ 5228.817240] ADDRCONF(NETDEV_UP): vetheBqcj5: link is > not ready > > This is strange, because I have not configured vetheBqcj5. It is con

Re: [Lxc-users] lxc_namespace - failed to clone(0x6c020000): Invalid argument

2011-06-01 Thread Ulli Horlacher
On Wed 2011-06-01 (10:30), Daniel Lezcano wrote: > On 06/01/2011 10:25 AM, Ulli Horlacher wrote: > > > > > On Wed 2011-06-01 (10:18), Daniel Lezcano wrote: > > > >>> root@vms2:/lxc# lxc-start -f bunny.cfg -n bunny -d -o /dev/tty > >>> lxc-start 1306913218.901 ERRORlxc_namespace - fail

Re: [Lxc-users] lxc_namespace - failed to clone(0x6c020000): Invalid argument

2011-06-01 Thread Daniel Lezcano
On 06/01/2011 10:25 AM, Ulli Horlacher wrote: > > On Wed 2011-06-01 (10:18), Daniel Lezcano wrote: > >>> root@vms2:/lxc# lxc-start -f bunny.cfg -n bunny -d -o /dev/tty >>> lxc-start 1306913218.901 ERRORlxc_namespace - failed to >>> clone(0x6c02): Invalid argument >> >> Can you show

Re: [Lxc-users] lxc_namespace - failed to clone(0x6c020000): Invalid argument

2011-06-01 Thread Ulli Horlacher
On Wed 2011-06-01 (10:18), Daniel Lezcano wrote: > > root@vms2:/lxc# lxc-start -f bunny.cfg -n bunny -d -o /dev/tty > >lxc-start 1306913218.901 ERRORlxc_namespace - failed to > > clone(0x6c02): Invalid argument > > Can you show the content of the /cgroup root directory please ?

Re: [Lxc-users] lxc_namespace - failed to clone(0x6c020000): Invalid argument

2011-06-01 Thread Daniel Lezcano
On 06/01/2011 09:35 AM, Ulli Horlacher wrote: > After a minor kernel update lxc-start does not work any more: > > root@vms2:/lxc# lxc-start -f bunny.cfg -n bunny -d -o /dev/tty >lxc-start 1306913218.901 ERRORlxc_namespace - failed to > clone(0x6c02): Invalid argument >lxc-s

[Lxc-users] lxc_namespace - failed to clone(0x6c020000): Invalid argument

2011-06-01 Thread Ulli Horlacher
After a minor kernel update lxc-start does not work any more: root@vms2:/lxc# lxc-start -f bunny.cfg -n bunny -d -o /dev/tty lxc-start 1306913218.901 ERRORlxc_namespace - failed to clone(0x6c02): Invalid argument lxc-start 1306913218.901 ERRORlxc_start - Invalid argument