[Lxc-users] Control panel

Ulli Horlacher framstag at rus.uni-stuttgart.de
Mon Apr 18 18:38:50 UTC 2011


On Mon 2011-04-18 (19:40), Daniel Lezcano wrote:
> On 04/17/2011 09:47 AM, Ulli Horlacher wrote:
> 
> >
> > I will integrate the other lxc basic commands as soon the phys nic
> > renaming bug is solved.
> 
> The bug is coming from the kernel and the network namespace life cycle.
> 
> As we changed the name 'eth1' in the host to 'eth0' in the container, 
> when the container exits, the kernel detect the conflict name with the 
> 'eth0' from the host and rename container's 'eth0' to 'dev%d'.
> As a workaround, I think setting lxc.network.name = eth1 in the 
> container should fix the problem 

Great! This works! 
And is an acceptable workaround until a final (kernel) fix!



-- 
Ullrich Horlacher              Server- und Arbeitsplatzsysteme
Rechenzentrum                  E-Mail: horlacher at rus.uni-stuttgart.de
Universitaet Stuttgart         Tel:    ++49-711-685-65868
Allmandring 30                 Fax:    ++49-711-682357
70550 Stuttgart (Germany)      WWW:    http://www.rus.uni-stuttgart.de/




More information about the lxc-users mailing list