Package: iproute2 Version: 3.11.0-1 Severity: normal While trying to fix a bug in python-nemu, I discovered a small bug in iproute2. The output of the command "addr show" is not consistent, depending on the -o flag.
See this example: $ sudo modprobe dummy $ ip addr show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000 [..] 3: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000 [..] 10: wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 [..] 358: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default link/ether 42:39:cf:86:bb:39 brd ff:ff:ff:ff:ff:ff $ ip -o addr show 1: lo inet 127.0.0.1/8 scope host lo\ valid_lft forever preferred_lft forever 1: lo inet6 ::1/128 scope host \ valid_lft forever preferred_lft forever 10: wwan0 inet XXX/29 brd XXX scope global wwan0\ valid_lft forever preferred_lft forever 10: wwan0 inet6 XXX/64 scope link \ valid_lft forever preferred_lft forever As you can see, the unconfigured interfaces are not shown with the -o switch, which breaks python-nemu, as it uses the parser-friendly one-line format. Even if this looks like a minor bug, it is breaking other package, so hence the normal severity. -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores) Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages iproute2 depends on: ii libc6 2.17-93 ii libdb5.1 5.1.29-7 Versions of packages iproute2 recommends: pn libatm1 <none> ii libxtables10 1.4.20-2 Versions of packages iproute2 suggests: pn iproute2-doc <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org