Bug#930789: iproute2: -json flag to bridge produces broken JSON

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

Bug#930789: iproute2: -json flag to bridge produces broken JSON

Anton Ivanov-8
Package: iproute2
Version: 4.20.0-2
Severity: normal

Dear Maintainer,

bridge -json mdb show

["mdb":[]]

The outer brackets should be curly.

A.

-- System Information:
Debian Release: 10.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages iproute2 depends on:
ii  debconf [debconf-2.0]  1.5.71
ii  libc6                  2.28-10
ii  libcap2                1:2.25-2
ii  libcap2-bin            1:2.25-2
ii  libdb5.3               5.3.28+dfsg1-0.5
ii  libelf1                0.176-1.1
ii  libmnl0                1.0.4-2
ii  libselinux1            2.8-1+b1
ii  libxtables12           1.8.2-4

Versions of packages iproute2 recommends:
pn  libatm1  <none>

Versions of packages iproute2 suggests:
pn  iproute2-doc  <none>

-- debconf information:
  iproute2/setcaps: false

Reply | Threaded
Open this post in threaded view
|

Bug#930789: iproute2: -json flag to bridge produces broken JSON

Luca Boccassi-3
Control: close -1 5.1.0-1

On Thu, 2019-06-20 at 16:24 +0000, Anton Ivanov wrote:

> Package: iproute2
> Version: 4.20.0-2
> Severity: normal
>
> Dear Maintainer,
>
> bridge -json mdb show
>
> ["mdb":[]]
>
> The outer brackets should be curly.
>
> A.
Hi,

This is fixed upstream in v5.1.0 (commit
b11b495e7c071691e6282d048ab2d1a32a8c000d), which is available in
experimental. After buster ships and the freeze is lifted, I'll upload
to unstable.

I do not believe this is critical enough to ask for an exception to
buster's freeze policy, nor for a p-u upload after buster ships, but
I'm open to persuasion.

--
Kind regards,
Luca Boccassi

signature.asc (499 bytes) Download Attachment