[lxc-devel] lxc-stop: waiting for interface #X to come back

Daniel Lezcano dlezcano at fr.ibm.com
Wed Jun 24 11:03:53 UTC 2009


Markus Schuster wrote:
> Hi list, 
> 
> I've a problem with lxc-stop I can't solve myself. 
> I can use linux containers without problems so far, networking is working,
> but whenever I use lxc-stop, I get the following message:
> 
> --- cut ---
> waiting for interface #X to come back
> .... [..] .... lxc 1245837641.613 ERROR lxc_conf - failed to remove the
> netdev
> --- cut ---
> 
> The "[..]" stands for a huge amount of dots. 
> I get this message for every interface I've associated with the container. 
> I'm running Debian lenny with linux-image-2.6.29-2-686 and lxc (0.6.2) from
> unstable. 
> 
> Anybody an idea?

You have to specify --with-kernel-release=2.6.29 for the configure script.

The previous version of the network namespace didn't destroyed the 
virtual interfaces so lxc was doing that for us. At present the kernel 
automatically destroys the interfaces. If you have the wrong parameter 
for the configure script, lxc may wait for these interfaces which were 
already destroyed.

As the definitive kernel behaviour is to destroy the virtual interface 
belonging to the network namespace, this option will be removed for the 
lxc version 0.6.3

Thanks
   -- Daniel




More information about the lxc-devel mailing list