Upgrades to 24.04 LTS should be temporarily prevented for TPM FDE systems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Noble |
Fix Released
|
High
|
Nick Rosbrook |
Bug Description
[Impact]
It is not currently supported to upgrade desktop systems installed with TPM-backed FDE, so we should not allow such upgrades to start. We should notify the user of this and abort the upgrade.
[Test Plan]
Attempt an upgrade from 23.10 to 24.04 LTS on various types of Ubuntu installs:
1. Desktop with TPM FDE
2. Desktop classic
3. LXD Container
In case (1), the upgrade should be aborted with an appropriate message to the user. In cases (2) and (3), the upgrade should proceed as normally.
[Where problems could occur]
The test condition for determining that we are on Desktop with TPM FDE is checking that (a) pc-kernel snap is installed, and (b) ubuntu-
As always with these kinds of quirks, if any package or snap names were spelled incorrectly, the quirk would not work correctly.
Related branches
- Steve Langasek: Approve
-
Diff: 62 lines (+37/-1)2 files modifiedDistUpgrade/DistUpgradeQuirks.py (+36/-0)
tests/data-deb822-migration-test/test_ports_sources_list_migration/expect/ubuntu.sources (+1/-1)
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | New → Invalid |
Changed in ubuntu-release-upgrader (Ubuntu Noble): | |
assignee: | nobody → Nick Rosbrook (enr0n) |
importance: | Undecided → High |
description: | updated |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Invalid → New |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | New → Fix Committed |
Changed in ubuntu-release-upgrader (Ubuntu Noble): | |
status: | New → In Progress |
Hello Nick, or anyone else affected,
Accepted ubuntu- release- upgrader into noble-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ ubuntu- release- upgrader/ 1:24.04. 18 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- noble to verification- done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- noble. 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/ PerformingSRUVe rification . 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.