[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2014-01-03 Thread Christopher M. Penalver
Dan Kegel, would utilizing the Raring enablement stack in Precise work for you as per https://wiki.ubuntu.com/Kernel/LTSEnablementStack ? ** Changed in: linux (Ubuntu) Importance: Undecided = Medium ** Changed in: linux (Ubuntu) Status: Confirmed = Incomplete -- You received this bug

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2013-02-11 Thread Serge Hallyn
(Marking fix-released for lxc per comment #19) ** Changed in: lxc (Ubuntu) Status: Triaged = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1065589 Title: initctl

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2013-01-25 Thread Dan Kegel
Where does this stand? A fully updated 12.04.1 system is still seeing lots of interfaces; 2015 network-interface 4028 network-interface-security and toggling an lxc container up and down four times seemed to result in one extra network-interface and four extra network-interface-security's.

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2013-01-25 Thread Stéphane Graber
I fixed the userspace side of this in 13.04 and the 3.8 kernel contains the matching kernel fix. I could probably backport the fix to 12.04, though it won't work until the 13.04 kernel is backported and people explicitly move to it. -- You received this bug notification because you are a

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2013-01-25 Thread Dan Kegel
Thanks. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1065589 Title: initctl list shows 11974 instances of network-interface-security after two days of uptime To manage

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2012-10-15 Thread Serge Hallyn
** Also affects: linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1065589 Title: initctl list shows 11974 instances of

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2012-10-15 Thread Serge Hallyn
I'm running ltp against my proposed patch, and will send it to netdev (per the email thread) later today. ** Tags added: bot-stop-nagging ** Changed in: linux (Ubuntu) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team,

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2012-10-13 Thread Ubuntu Foundation's Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1065589 Title: initctl list shows 11974 instances of network-interface-security after two days of uptime To

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2012-10-12 Thread Dan Kegel
Running this script periodically seems to work around the problem. Only lightly tested. ** Attachment added: gc.sh https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1065589/+attachment/3396509/+files/gc.sh -- You received this bug notification because you are a member of Ubuntu Server

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2012-10-12 Thread Dan Kegel
Oops, that only deleted one of the jobs. This draft deletes both. ** Attachment added: gc.sh https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1065589/+attachment/3396518/+files/gc.sh -- You received this bug notification because you are a member of Ubuntu Server Team, which is

Re: [Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2012-10-12 Thread Serge Hallyn
@Dan, note that you can also compare the list of running 'network-interface' jobs to the veth's in /sys/class/net/. For those which are not there, you can remove the network-interface job using sudo initctl emit net-device-removed INTERFACE=$thenicyoufound -- You received this bug notification

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2012-10-12 Thread Dan Kegel
Once more with feeling. ** Attachment added: bug1065589-gc.sh https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1065589/+attachment/3396522/+files/bug1065589-gc.sh -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2012-10-12 Thread Serge Hallyn
Email thread about a potential kernel patch to solve the problem: http://lists.linuxfoundation.org/pipermail/containers/2012-October/030519.html -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2012-10-12 Thread Dan Kegel
Alas, that archive doesn't show attachments. For the record, is there a better archive somewhere? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1065589 Title: initctl list shows

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2012-10-12 Thread Serge Hallyn
Hm, I didn't know it did that. The patch wasn't even an attachment, just inline. I'll attach the new version here. There is another archive at sf.net, but it doesn't seem to have oct 12 messages yet. -- You received this bug notification because you are a member of Ubuntu Server Team, which

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2012-10-12 Thread Serge Hallyn
** Patch added: 0001-dev_change_net_namespace-send-a-KOBJ_REMOVED-to-orig.patch https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1065589/+attachment/3396958/+files/0001-dev_change_net_namespace-send-a-KOBJ_REMOVED-to-orig.patch -- You received this bug notification because you are a

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2012-10-11 Thread Serge Hallyn
** Changed in: lxc (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1065589 Title: initctl list shows 11974 instances of

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2012-10-11 Thread Serge Hallyn
Note that the count goes up by 1 for each container. But each container has 2 veths. My guess is that when lxc passes one of the 2 veths into the container, we need to emit a net-device-removed signal for the passed-in device. -- You received this bug notification because you are a member of

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2012-10-11 Thread Serge Hallyn
Yup, I can reproduce this. However I believe the bug is in the init script, not in lxc. The veth interfaces are not around. ** Changed in: lxc (Ubuntu) Status: New = Triaged -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2012-10-11 Thread Serge Hallyn
Ah, no, both veths have a network-interface job sticking around. Could this be seen as a kernel/udev bug, that when they veth is destroyed (and maybe even when passed to a new netns) a uevent should be sent? -- You received this bug notification because you are a member of Ubuntu Server Team,

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2012-10-11 Thread Serge Hallyn
This can be worked around by manually stopping the jobs, for instance: sudo stop network-interface-security JOB=network-interface INTERFACE=vethCEDGKQ So lowering priority (per guidelines) since there is a workaround. ** Changed in: lxc (Ubuntu) Importance: High = Medium -- You received

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2012-10-11 Thread Serge Hallyn
I've opened bug 1065684 to handle the network-interface-security jobs. Those can just be made to go away immediately. THe network-interface jobs are a bit more contraversial. The question is whether the kernel should emit a signal, or whether lxc should, when a veth is moved to another network

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2012-10-11 Thread Serge Hallyn
Looking at the kernel source, I believe the uevent is being sent. I think udev (or upstart-udev-bridge) may be tossing the event because the device is no longer valid. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.

[Bug 1065589] Re: initctl list shows 11974 instances of network-interface-security after two days of uptime

2012-10-11 Thread Serge Hallyn
Running 'udevadm monitor' while starting and stopping a container gives: KERNEL[17237.641503] add /devices/virtual/net/veth7t59jJ (net) KERNEL[17237.644300] add /devices/virtual/net/veth7t59jJ/queues/rx-0 (queues) KERNEL[17237.644577] add