[Lxc-users] veth interface not deleted?

Fajar A. Nugraha list at fajar.net
Thu Sep 19 14:53:33 UTC 2013


On Thu, Sep 19, 2013 at 9:34 PM, Serge Hallyn <serge.hallyn at ubuntu.com>wrote:

> Quoting Fajar A. Nugraha (list at fajar.net):
> > On Fri, Sep 13, 2013 at 10:16 PM, Fajar A. Nugraha <list at fajar.net>
> wrote:
>


> Is there some kind of hook where I can add the "ip link del" command
> > manually when the container shuts down?
>
> lxc.network.script.down
>
>
Hmmm ... I immediately got "lxc-start: failed to read configuration file"
when adding this line

lxc.network.script.down = /var/lib/lxc/news/network_down.sh

comment it making it work again. Does that directive require lxc >= 0.9?
I'm still with 0.8.0~rc1-4ubuntu39.12.10.2~ubuntu12.04.1 at the moment.

with 0.9 (when it was available) and 1.0 from ubuntu-lxc/daily ppa, I got
even weirder errors (e.g. lxc would ALWAYS list containers as down, even
when it's actually up) because the commands (e.g. lxc-ls, lxc-stop) would
check on /var/lib/*lxc*/<container_name>/command, while "lsof" shows the
open socket is actually on /var/lib/*lxc_anon*/<container_name>/command.
Any ideas how to fix this? If this works, I can try and test the hook on
1.0.

-- 
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130919/716c8cce/attachment.html>


More information about the lxc-users mailing list