Bug#924374: busybox ip --oneline displays nothing

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#924374: busybox ip --oneline displays nothing

Michael Pope-2
Package: busybox
Version: 1:1.30.1-2
Severity: important

Dear Maintainer,

I use LTSP which requires the following command to show a list of interfaces in which it can use.
The following command worked in 1.27 of busybox but broke in the 1.30.1-2 version;
busybox ip -oneline link show

This stopped all my thin clients from booting.


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-2-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages busybox depends on:
ii  libc6  2.28-8

busybox recommends no packages.

busybox suggests no packages.

-- debconf-show failed

Reply | Threaded
Open this post in threaded view
|

Bug#924374: busybox ip --oneline displays nothing

Wolfgang Schweer-3
On Tue, Mar 12, 2019 at 06:36:45PM +1100, Michael Pope wrote:
> I use LTSP which requires the following command to show a list of interfaces in which it can use.
> The following command worked in 1.27 of busybox but broke in the 1.30.1-2 version;
> busybox ip -oneline link show

Confirmed here: breaks Debian Edu LTSP thin clients and diskless
workstations (amd64).
 
> This stopped all my thin clients from booting.

Downgrading busybox, i.e. installing
http://snapshot.debian.org/archive/debian/20180713T085537Z/pool/main/b/busybox/busybox_1.27.2-3_amd64.deb
in the LTSP chroot and rebuilding the initrd could be used as a
temporary workaround.

Wolfgang

signature.asc (981 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#924374: busybox ip --oneline displays nothing

Dominik George-7
In reply to this post by Michael Pope-2
Control: tag -1 + patch

Hi,

> I use LTSP which requires the following command to show a list of interfaces in which it can use.
> The following command worked in 1.27 of busybox but broke in the 1.30.1-2 version;
> busybox ip -oneline link show
>
> This stopped all my thin clients from booting.

here's what happened:

busybox upstream found out that their ip address show command, with the
oneline option, includes link layer addresses, which iproute2 normally
doesn't. They patched that, without realising their ip link show code
ultimately calls their ip address show code.

Attached debdiff reverts this change. This makes the ip address show
behaviour "wrong" again, but including too much in a machine-readable
output seems less broken than this regression.

-nik

busybox_1.30.1-2.1.debdiff (1K) Download Attachment
signature.asc (919 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#924374: busybox ip --oneline displays nothing

Christoph Biedl-7
Control: tag 924374 pending

Dominik George wrote...

> busybox upstream found out that their ip address show command, with the
> oneline option, includes link layer addresses, which iproute2 normally
> doesn't. They patched that, without realising their ip link show code
> ultimately calls their ip address show code.
>
> Attached debdiff reverts this change. This makes the ip address show
> behaviour "wrong" again, but including too much in a machine-readable
> output seems less broken than this regression.

Thanks for this finding. While I not haven't decided yet how to deal
with this in the long run, I've applied the patch for buster since
fixing that regression for buster is certainly the priority here.

    Christoph