[24.04/noble] Drop CBQ support (qdisc discipline)

Bug #2119439 reported by Stefan Bader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
iproute2 (Ubuntu)
Invalid
Undecided
Unassigned
Noble
In Progress
Low
Stefan Bader

Bug Description

[SRU justification]

== Impact

The kernel dropped support for the CBQ (class based queuing) qdisc support in kernel version 6.3

051d44209842 (net/sched: Retire CBQ qdisc, 2023-02-14)

This was reflected in iproute2 upstream in v6.6.0. But noble shipped with v6.1.0. So the man page and help of tc still mention cbq. Any attempts to use it result in a failure. This also breaks the DEP-8 tests as those attempt to make use of cbq.

This affects only 24.04 Noble as later series already have a fixed iproute2 version and previous series still have CBQ support (except jammy:linux-hwe-6.8).

== Fix

Backport the upstream iproute2 patch which drops support for qbf.

From 07ba0af3fee132eddc1c2eab643ff4910181c993 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <email address hidden>
Date: Mon, 30 Oct 2023 11:10:18 -0700
Subject: [PATCH] tc: remove support for CBQ

== Testing

1. Double checking that neither "man tc" nor "tc qdisc help" mention CBQ
2. The ADT selftests which have been accepted failing (migration/0) should
start to work again.

== Regression Potential

Scripts which check the help output might react differently. However any attempts to set up a qdisc of type cbq should already have failed before.

Stefan Bader (smb)
description: updated
Changed in iproute2 (Ubuntu Noble):
assignee: nobody → Stefan Bader (smb)
importance: Undecided → Low
status: New → In Progress
Changed in iproute2 (Ubuntu):
assignee: Stefan Bader (smb) → nobody
importance: Low → Undecided
status: In Progress → Invalid
Revision history for this message
Stefan Bader (smb) wrote :

The attached debdiff contains all changes which allowed me to run the DEP-8 tests successfully in a Noble VM. This includes the following other bug reports:

bug #2119448 -- [24.04/noble] Drop dsmark qdisc support
bug #2119452 -- [24.04/noble] Fix man pages to allow DEP-8 tests again

I try to get sponsorship for the upload through this bug report only.

Revision history for this message
Simon Chopin (schopin) wrote :

Hi Stefan,

This looked like a straightforward upload, but then the debdiff didn't apply. Which version did you base this on? 6.1.0-1ubuntu6.24.04.2 is nowhere to be found in the archive AFAICT.

While you fix this, could you add some DEP-3 headers? Bug-Ubuntu fields in particular would come in handy :)

Please resubscribe ubuntu-sponsors once you have a fixed version for us.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.