Re: [Lxc-users] netns: Issues with deleting virtual interfaces during namespace cleanup

2011-02-27 Thread Renato Westphal
Hello David, You may try the patch below (kernel v2.6.35) and see if that helps. It basically does what you asked for: during namespace cleanup, move back the virtual interfaces to their original namespaces. I did some tests with veth pairs and nested netns's and everything worked fine. I think

Re: [Lxc-users] netns: Issues with deleting virtual interfaces during namespace cleanup

2011-02-27 Thread Daniel Lezcano
On 02/27/2011 06:16 AM, Renato Westphal wrote: Hello David, You may try the patch below (kernel v2.6.35) and see if that helps. It basically does what you asked for: during namespace cleanup, move back the virtual interfaces to their original namespaces. I did some tests with veth pairs and

Re: [Lxc-users] netns: Issues with deleting virtual interfaces during namespace cleanup

2011-02-27 Thread Eric W. Biederman
Renato Westphal renatowestp...@gmail.com writes: Hello David, You may try the patch below (kernel v2.6.35) and see if that helps. It basically does what you asked for: during namespace cleanup, move back the virtual interfaces to their original namespaces. I did some tests with veth pairs

Re: [Lxc-users] Bad checksums and lost packets with macvlan on dummy

2011-02-27 Thread Daniel Lezcano
On 02/23/2011 06:13 PM, Andrian Nord wrote: On Mon, Feb 21, 2011 at 05:07:31PM +0100, Daniel Lezcano wrote: I Cc'ed the netdev mailing list and Patrick in case my analysis is wrong or incomplete. I'm confirming, that this happens only when macvlan's are onto dummy net device. In case of some

Re: [Lxc-users] netns: Issues with deleting virtual interfaces during namespace cleanup

2011-02-27 Thread Renato Westphal
Daniel/Eric, You're completely right. This patch adds more problems than it solves. I have a problem similar to that of David, but now I'm convinced that it is better to deal with it with the userspace tools. Renato. 2011/2/27 Daniel Lezcano daniel.lezc...@free.fr: On 02/27/2011 06:16 AM,

Re: [Lxc-users] Bad checksums and lost packets with macvlan on dummy

2011-02-27 Thread Eric Dumazet
Le dimanche 27 février 2011 à 16:14 +0100, Daniel Lezcano a écrit : On 02/23/2011 06:13 PM, Andrian Nord wrote: On Mon, Feb 21, 2011 at 05:07:31PM +0100, Daniel Lezcano wrote: I Cc'ed the netdev mailing list and Patrick in case my analysis is wrong or incomplete. I'm confirming, that this

Re: [Lxc-users] Many containers and too many open files

2011-02-27 Thread Trent W. Buck
Daniel Lezcano daniel.lezc...@free.fr writes: I was using dnsmasq as a dns and a dhcp server and sending the hostname as an identifier for the dhcp protocol, so I was able to reach the container without taking care of the ip address / mac address. But I noticed dnsmasq was collapsing and

Re: [Lxc-users] LXC Container Boot/Shutdown errors

2011-02-27 Thread Trent W. Buck
Kelly Gibson kgib...@gmail.com writes: Unless I misunderstand this, it seems to me that there should be a way to designate that some of the file systems listed in [guest].fstab should not be remounted in read-only mode during a shutdown. I address this by denying mount privileges to the