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: horlac...@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/

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to