Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#77625 - [iproute2] Missing separator in `tc -d class show` output

Attached to Project: Arch Linux
Opened by Frantisek Sumsal (mrc0mmand) - Thursday, 23 February 2023, 09:58 GMT
Last edited by Christian Hesse (eworm) - Thursday, 23 February 2023, 10:30 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Our upstream systemd-networkd test suite started complaining with the latest iproute2 (6.2.0-1), as there appears to be a missing separator in the `tc -d class show` output:

# Old version (6.1.0-5)
# tc -d class show dev dummy98
class htb 2:3b root leaf 3b: prio 1 quantum 6250 rate 1Mbit ceil 500Kbit linklayer ethernet burst 1600b/1 mpu 0b cburst 1600b/1 mpu 0b level 0
class htb 2:3a root leaf 3a: prio 1 quantum 6250 rate 1Mbit ceil 500Kbit linklayer ethernet burst 1600b/1 mpu 0b cburst 1600b/1 mpu 0b level 0
class htb 2:37 root leaf 37: prio 1 quantum 4000 rate 1Mbit overhead 100 ceil 500Kbit linklayer ethernet burst 123456b/1 mpu 0b cburst 123457b/1 mpu 0b level 0
class htb 2:3c root leaf 3c: prio 1 quantum 6250 rate 1Mbit ceil 500Kbit linklayer ethernet burst 1600b/1 mpu 0b cburst 1600b/1 mpu 0b level 0

# New version (6.2.0-1)
# tc -d class show dev dummy98
class htb 2:3b root leaf 3bprio 1 quantum 6250 rate 1Mbit ceil 500Kbit linklayer ethernet burst 1600b/1mpu 0b cburst 1600b/1mpu 0b level 0
class htb 2:3a root leaf 3aprio 1 quantum 6250 rate 1Mbit ceil 500Kbit linklayer ethernet burst 1600b/1mpu 0b cburst 1600b/1mpu 0b level 0
class htb 2:37 root leaf 37prio 1 quantum 4000 rate 1Mbit overhead 100 ceil 500Kbit linklayer ethernet burst 123456b/1mpu 0b cburst 123457b/1mpu 0b level 0
class htb 2:3c root leaf 3cprio 1 quantum 6250 rate 1Mbit ceil 500Kbit linklayer ethernet burst 1600b/1mpu 0b cburst 1600b/1mpu 0b level 0

Notice the missing ': ' before 'prio'.

Steps to reproduce:
1) Copy the two attached files to /run/systemd/network
2) systemctl restart systemd-networkd
3) tc -d class show dev dummy98
This task depends upon

Closed by  Christian Hesse (eworm)
Thursday, 23 February 2023, 10:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  iproute2-6.2.0-2

Loading...