[Lxc-users] Physical interface not getting released after container shutdown

Serge Hallyn serge.hallyn at canonical.com
Tue Jan 22 16:55:02 UTC 2013


Quoting Benoit Lourdelet (blourdel at juniper.net):
> Hello,
> 
> I am running LXC 0.8.0 on Ubuntu running Kernel 3.7.1.
> 
> I have assigned physical interfaces to a container:
> 
> lxc.network.type = phys lxc.network.flags = up lxc.network.link = eth4.2000 lxc.network.name = eth2 lxc.network.hwaddr = 00:50:56:a8:03:03 lxc.network.type = phys lxc.network.flags = up lxc.network.link = eth5.2000 lxc.network.name = eth1 lxc.network.hwaddr = 00:50:57:b8:00:01
> 
> When I shutdown the container, the interfaces are not released. So I can not re-launch the container.
> 
> The only way to get the interfaces back is to reboot the host.

I think you just need commit 7b35f3d: rename physical nics at shutdown
I don't think that is in 0.8.0.

-serge




More information about the lxc-users mailing list