please drop ifupdown dependency

Bug #1855557 reported by Dimitri John Ledkov
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Fix Released
High
Unassigned
Eoan
Triaged
Undecided
Unassigned
Focal
Fix Released
High
Unassigned

Bug Description

ifupdown is no longer a supported networking management framework in Ubuntu.

Please drop alternative depends on ifupdown from the cloud-init package metadata.

This is evolution of the https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1705639

tags: added: rls-ff-incoming
Ryan Harper (raharper)
Changed in cloud-init (Ubuntu):
importance: Undecided → High
status: New → Triaged
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

IIRC the packaging is tried to be consistent and the same across releases.
Currently it has "netplan.io | ifupdown"

Surely it could be dropped to be only "netplan.io" but that will make backports (slightly) more effort.

This was pulling in ifupdown in the past and no more did so for a while.
Recently the package src:ifupdown2 added a provides: ifupdown
That made it show up again on component mismatches.

I'd have expected that component mismatches would consider things to be "ok if there is a sufficient dependency in main". Instead of "flag it as mismatch if there is any package having a provides".

I talked with doko in the MIR meeting and he first suggested Extra-Excludes but then wanted to discuss that with Colin first to then get back to us.

Options mentioned so far:
1. cloud-init to drop ifupdown dependency and adding it back on backports
2. Add Extra-Excludes to seeds to mask this from being added
3. fix tooling that generates component mismatches to consider "Provides" in a different way

@Doko if you could reply on this bug once you have talked with Colin that would be great

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

This has nothing to do with i386-arch removals, and components-missmatches there missfiring. And actually it's a false positive for MIR from that process point of view.

This is a Product decision. Ubuntu no longer supports alternatives to netplan.io for cloud-init. Please remove /any/ alternatives to netplan.io in eoan and up.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Backporting efforts are not a reason for shipping unsupported packaging in any series. Even if cloud-init didn't have per-series packaging, it would be forced to introduce them now.

Luckily, cloud-init does have per-series packaging branches already anyway as seen on https://code.launchpad.net/cloud-init

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Oh I didn't know yet that there was misfiring of components-missmatches for i386-arch removals.
I was following the IRC discussion ~6h back from now. Thanks for that clarification.
To copy it here:
[00:47] <xnox> cyphermox: Odd_Bloke: we have removed i386 arch specific packages, yet cloud-init and ifupdown2 are arch:all and it is a bug that they are (a) published in i386 archive (b) used by components mismatches to promote things
[00:48] <xnox> cpaelzer: my bug report was slightly tangential to the components mismatches being buggy.

Ok, with that resolved I agree that >=Eoan we should drop the "| ifupdown" in the depends of cloud-init.

Revision history for this message
Joshua Powers (powersj) wrote :

Fix is merged upstream:
https://github.com/canonical/cloud-init/pull/102/files

We will try to do an upload next week.

Steve Langasek (vorlon)
summary: - please drop ifupdown depedency
+ please drop ifupdown dependency
Revision history for this message
Chad Smith (chad.smith) wrote :

Just pushed cloud-init 19.3-74-g129b1c4e-0ubuntu1 to Focal. This should resolve this issue in new focal builds

Changed in cloud-init (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Chad Smith (chad.smith) wrote :

will have to await a new SRU to fix Eoan for this

Revision history for this message
Chad Smith (chad.smith) wrote :

19.4 is planned next week to SRU to X B D E I believe.

Changed in cloud-init (Ubuntu Focal):
status: Fix Committed → Fix Released
Changed in cloud-init (Ubuntu Eoan):
status: New → Triaged
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.