Bug#680094: iproute: ip link can't remove bridge created with brctl

2012-07-03 Thread Jonathan Nieder
found 680094 linux-2.6/2.6.32-45 found 680094 linux/3.2.21-3 quit Andreas Henriksson wrote: > This is thus not a real regression, but one hurdle in switching over > from old ioctl based tools to new netlink based tools. Thanks for a clear and sensible explanation. (I should have just read the o

Bug#680094: iproute: ip link can't remove bridge created with brctl

2012-07-03 Thread Andreas Henriksson
FWIW, a last note Running "git log net/bridge/br_netlink.c" in a kernel tree should give you both a quite good history lesson on the introduction of managing bridges via netlink (iproute2) and the future upcoming features which you'll be missing out on if you stay with the ioctl based bridge-ut

Bug#680094: iproute: ip link can't remove bridge created with brctl

2012-07-03 Thread Andreas Henriksson
On Tue, Jul 03, 2012 at 11:55:44AM -0500, Jonathan Nieder wrote: [...] > Can you say a little more about the background? Is this a regression? I don't know if I can, but I'll try The main background is that the ioctl interfaces traditionally used by tools like ifconfig, route, ... (net-tools

Bug#680094: iproute: ip link can't remove bridge created with brctl

2012-07-03 Thread Jonathan Nieder
reassign 680094 src:linux 3.3.4-1~experimental.1 tags 680094 + upstream patch quit Hi, Andreas Henriksson wrote: > Fixed upstream in the commit Stephen Hemminger pointed out (read bug > backlog). Thanks. For reference: commit 149ddd83a92b Author: stephen hemminger Date: Tue Jun 26 05:48

Bug#680094: iproute: ip link can't remove bridge created with brctl

2012-07-03 Thread Andreas Henriksson
tag 680094 + confirmed thanks Thanks for your bug report. This is likely something which needs to be fixed inside the kernel to handle removals consistenly between the ioctl and netlink interfaces. One solution is ofcourse for everyone to stop using the old ioctl based tools (like bridge-utils).

Bug#680094: iproute: ip link can't remove bridge created with brctl

2012-07-03 Thread Stephen Hemminger
On Tue, 03 Jul 2012 17:22:23 +0400 sergio wrote: > Package: iproute > Version: 20120521-3 > Severity: normal > > % sudo brctl addbr br0 > % sudo ip link del br0 > RTNETLINK answers: Operation not supported > > In the back order works fine: > > % sudo ip link add type bridge > % brctl

Bug#680094: iproute: ip link can't remove bridge created with brctl

2012-07-03 Thread sergio
Package: iproute Version: 20120521-3 Severity: normal % sudo brctl addbr br0 % sudo ip link del br0 RTNETLINK answers: Operation not supported In the back order works fine: % sudo ip link add type bridge % brctl delbr bridge0 -- System Information: Debian Release: wheezy/si