cryptsetup-initramfs disappeared during upgrade from 23.10 to 24.04 leading to failing boot
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) | Status tracked in Oracular | |||||
Noble |
Fix Released
|
Undecided
|
Unassigned | |||
Oracular |
Fix Released
|
Undecided
|
Nick Rosbrook |
Bug Description
[Impact]
If an upgrade removes cryptsetup-
[Test Plan]
We don't currently have a reproducer for this scenario, so we need to test that cryptsetup-
1. Start an upgrade
$ do-release-upgrade
2. In another terminal, after the tarball has been downloaded and unpacked, find the temp directory
$ tmpdir="$(find /tmp -name ubuntu-
3. Check that cryptsetup-
grep "cryptsetup-
It should be listed there.
[Where problems could occur]
If there was a typo in the patch, the entry would not correctly match the cryptsetup-
[Original Description]
I have a system with a full-disk encryption installed with 23.10. After doing an upgrade to 24.04 from command line using `do-release-
I was able to boot using the kernel from the previous version (6.5.0) and after inspecting the system, I found that the `cryptsetup-
From the upgrade logs, I can see the following:
```
Investigating (0) cryptsetup-
Broken cryptsetup-
Considering cryptsetup:amd64 10000 as a solution to cryptsetup-
Removing cryptsetup-
```
Which I think is the culprit of the problem.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelMo
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
CurrentDesktop: MATE
Date: Thu May 30 16:37:39 2024
InstallationDate: Installed on 2024-02-25 (95 days ago)
InstallationMedia: Ubuntu-MATE 23.10 "Mantic Minotaur" - Release amd64 (20231010)
PackageArchitec
SourcePackage: ubuntu-
Symptom: ubuntu-
UpgradeStatus: Upgraded to noble on 2024-05-30 (0 days ago)
VarLogDistupgra
INFO:root:
INFO:root:No xorg.conf, exiting
tags: | added: rls-nn-incoming |
Changed in ubuntu-release-upgrader (Ubuntu): | |
assignee: | nobody → Nick Rosbrook (enr0n) |
tags: |
added: foundations-todo removed: rls-nn-incoming |
description: | updated |
Changed in ubuntu-release-upgrader (Ubuntu Oracular): | |
status: | New → Fix Committed |
Changed in ubuntu-release-upgrader (Ubuntu Noble): | |
status: | New → In Progress |
This bug was fixed in the package ubuntu- release- upgrader - 1:24.10.6
--------------- release- upgrader (1:24.10.6) oracular; urgency=medium
ubuntu-
* DistUpgrade: show a message about denied package removals initramfs to removal_ denylist. cfg
(LP: #2073278)
* data: add cryptsetup-
(LP: #2067622)
* Run pre-build.sh: updating mirrors, demotions, and translations.
-- Nick Rosbrook <email address hidden> Tue, 06 Aug 2024 16:48:41 -0400