[Bug 1970761] Re: Upgrades to 22.04 can cause netplan failures on Raspi
Launchpad Bug Tracker
1970761 at bugs.launchpad.net
Mon Jun 6 22:59:48 UTC 2022
This bug was fixed in the package ubuntu-release-upgrader - 1:22.04.11
---------------
ubuntu-release-upgrader (1:22.04.11) jammy; urgency=medium
[ William 'jawn-smith' Wilson ]
* DistUpgrade/DistUpgradeQuirks.py: Remove section of netplan
config that is installed by default on Raspberry Pi and
causes netplan failures after upgrade to jammy (LP: #1970761)
[ Nick Rosbrook ]
* DistUpgrade: Gracefully handle missing dbus module (LP: #1965568).
* DistUpgrade: Do not show lock screen error if XDG_SESSION_TYPE is
tty (LP: #1973785).
* DistUpgrade: Add deb2snap entry for snapd-desktop-integration (LP: #1975747).
* Run pre-build.sh: updating mirrors, demotions, and translations.
-- Nick Rosbrook <nick.rosbrook at canonical.com> Thu, 26 May 2022
10:49:26 -0400
** Changed in: ubuntu-release-upgrader (Ubuntu Jammy)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1970761
Title:
Upgrades to 22.04 can cause netplan failures on Raspi
Status in ubuntu-release-upgrader package in Ubuntu:
Confirmed
Status in ubuntu-release-upgrader source package in Jammy:
Fix Released
Bug description:
[Impact]
* In Jammy, Netplan commands fail if the following
lines are present in the netplan config file:
```
match:
driver: bcmgenet smsc95xx lan78xx
```
* Those lines are present in the default netplan config
for Raspberry Pis in focal, hirsute, and impish
* As a result, upgrades to jammy from older releases
lead to netplan failures and broken networking
[Test Plan]
* Install impish on a Raspberry Pi
* Upgrade to jammy using `do-release-upgrade -d`
* Run `sudo netplan apply` and observe the command
fails and the networking does not work
* Reinstall impish on the Raspberry Pi
* Upgrade to jammy using `do-release upgrade -d` with
the proposed pocket enabled
* Run `sudo netplan apply` and observe that the
command succeeds and networking is functional
[Regression Potential]
* Since ubuntu-release-upgrader is modifying
netplan's config, it is possible that custom
configs could be impacted where not intended.
[Original Description]
The default netplan yaml configuration file on Raspi for older releases is
```
network:
ethernets:
eth0:
dhcp4: true
match:
driver: bcmgenet smsc95xx lan78xx
optional: true
set-name: eth0
version: 2
```
In the version of netplan in jammy, the match section is no longer
needed and causes netplan failures due to incompatible formatting. A
quirk should be made to remove the match section.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1970761/+subscriptions
More information about the foundations-bugs
mailing list