Re: [lxc-devel] segfault with insufficient network config

2010-07-23 Thread Daniel Lezcano
On 07/22/2010 10:08 PM, Ferenc Wagner wrote: > Daniel Lezcano writes: > > >> On 07/22/2010 09:44 PM, Ferenc Wagner wrote: >> >> >>> # lxc-execute --name net -s lxc.network.type=phys -s lxc.network.link=eth0 >>> bash >>> lxc-execute: failed to move 'eth0' to the container : Message too l

Re: [lxc-devel] segfault with insufficient network config

2010-07-22 Thread Ferenc Wagner
Daniel Lezcano writes: > On 07/22/2010 09:44 PM, Ferenc Wagner wrote: > >> # lxc-execute --name net -s lxc.network.type=phys -s lxc.network.link=eth0 >> bash >> lxc-execute: failed to move 'eth0' to the container : Message too long >> >> It might as well have some sense, but I definitely don't g

Re: [lxc-devel] segfault with insufficient network config

2010-07-22 Thread Daniel Lezcano
On 07/22/2010 09:44 PM, Ferenc Wagner wrote: > Hi, > > $ lxc-execute --name net -s lxc.network.type=phys bash > Segmentation fault (core dumped) > > The problem is that the netdev structure is mostly uninitialized (only > its type is set to LXC_NET_PHYS), so if_nametoindex() is invoked with a > NUL

[lxc-devel] segfault with insufficient network config

2010-07-22 Thread Ferenc Wagner
Hi, $ lxc-execute --name net -s lxc.network.type=phys bash Segmentation fault (core dumped) The problem is that the netdev structure is mostly uninitialized (only its type is set to LXC_NET_PHYS), so if_nametoindex() is invoked with a NULL argument: static int instanciate_phys(struct lxc_netdev