[Lxc-users] veth interface not deleted?

Serge Hallyn serge.hallyn at ubuntu.com
Thu Sep 12 14:46:18 UTC 2013


Quoting Fajar A. Nugraha (list at fajar.net):
> Any ideas how to troubleshoot this? Is this something related to kernel
> version?

If the container fails to start at all, then lxc will manually delete
the veth.  However if we get as far as lxc passing one end of the
veth tunnel into the container, then when the container dies the
veth should be deleted by the kernel.

Have you been using lxc-attach?  I wonder if something is pinning the
network namespace so that it isn't deleted.  In that case the veth
wouldn't get autoreaped.

-serge




More information about the lxc-users mailing list