Desktop-Live ships /etc/netplan/01-network-manager-all.yaml in addition to /usr/lib/netplan/00-network-manager-all.yaml

Bug #2063204 reported by Lukas Märdian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
New
Medium
Unassigned
network-manager (Ubuntu)
New
Undecided
Unassigned
ubuntu-settings (Ubuntu)
New
Undecided
Unassigned

Bug Description

The /etc/netplan/01-network-manager-all.yaml, generated by livecd-rootfs, shouldn't exist any more IIUC.
That functionality was moved into src:ubuntu-settings and shipped as /usr/lib/netplan/00-network-manager-all.yaml

This is according to https://launchpad.net/ubuntu/+source/ubuntu-settings/23.10.1

The duplicated "renderer: NetworkManager" doesn't cause any harm in the live-session, AFAICT.

The /etc/netplan/01-network-manager-all.yaml file is carried over into the installed system (target).

After "apt install --reinstall ubuntu-settings" the file gets deleted.

Lukas Märdian (slyon)
tags: added: iso-testing
Changed in livecd-rootfs (Ubuntu):
importance: Undecided → Medium
Lukas Märdian (slyon)
description: updated
Revision history for this message
Dave Jones (waveform) wrote :

Ah, so the code in ubuntu-settings postinst is taking care of deleting the file on existing systems (i.e. upgraders) but that doesn't matter for the fresh image where livecd-rootfs is presumably injecting the file after the package is installed as part of the image build.

I ... thought I had a branch dealing with that in livecd-rootfs, but I can't find it now. Will prep another merge.

tags: added: rls-oo-incoming
Revision history for this message
Steve Langasek (vorlon) wrote :

And which community flavors ship the ubuntu-settings package?

I don't think this is superseded by the other file.

Revision history for this message
Lukas Märdian (slyon) wrote :

Arguably, the "/usr/lib/netplan/00-network-manager-all.yaml" should be shipped by the network-manager package, instead of ubuntu-settings...

The community flavors using Calamares, might be covered by this PR: https://github.com/calamares/calamares/pull/2284

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.