[Bug 1970761] Re: Upgrades to 22.04 can cause netplan failures on Raspi
Łukasz Zemczak
1970761 at bugs.launchpad.net
Mon May 30 12:19:32 UTC 2022
Hello William, or anyone else affected,
Accepted ubuntu-release-upgrader into jammy-proposed. The package will
build now and be available at
https://launchpad.net/ubuntu/+source/ubuntu-release-upgrader/1:22.04.11
in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
jammy to verification-done-jammy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-jammy. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: ubuntu-release-upgrader (Ubuntu Jammy)
Status: Confirmed => Fix Committed
** Tags added: verification-needed verification-needed-jammy
--
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 Committed
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