2024-05-30 14:40:04 |
Beda Kosata |
bug |
|
|
added bug |
2024-05-31 14:52:16 |
Ryan Mulder |
bug |
|
|
added subscriber Ryan Mulder |
2024-06-04 18:56:49 |
Nick Rosbrook |
tags |
amd64 apport-bug dist-upgrade noble |
amd64 apport-bug dist-upgrade noble rls-nn-incoming |
|
2024-06-06 15:39:02 |
Julian Andres Klode |
ubuntu-release-upgrader (Ubuntu): assignee |
|
Nick Rosbrook (enr0n) |
|
2024-06-06 15:39:09 |
Julian Andres Klode |
tags |
amd64 apport-bug dist-upgrade noble rls-nn-incoming |
amd64 apport-bug dist-upgrade foundations-todo noble |
|
2024-06-06 15:39:20 |
Julian Andres Klode |
nominated for series |
|
Ubuntu Noble |
|
2024-06-06 15:39:20 |
Julian Andres Klode |
bug task added |
|
ubuntu-release-upgrader (Ubuntu Noble) |
|
2024-06-06 15:39:20 |
Julian Andres Klode |
nominated for series |
|
Ubuntu Oracular |
|
2024-06-06 15:39:20 |
Julian Andres Klode |
bug task added |
|
ubuntu-release-upgrader (Ubuntu Oracular) |
|
2024-08-06 20:44:11 |
Nick Rosbrook |
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-upgrade` (everything went without a problem), I rebooted and got a initramfs prompt complaining about root filesystem not being available.
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-initramfs` package was not installed. After installing it, it produced a new and slightly larger initramfs. With it, I was able to boot with the 6.8.0 kernel.
From the upgrade logs, I can see the following:
```
Investigating (0) cryptsetup-initramfs:amd64 < 2:2.7.0-1ubuntu4 @ii gK Ib >
Broken cryptsetup-initramfs:amd64 Depends on cryptsetup:amd64 < 2:2.7.0-1ubuntu4 @ii pgP > (>= 2:2.7.0-1ubuntu4)
Considering cryptsetup:amd64 10000 as a solution to cryptsetup-initramfs:amd64 0
Removing cryptsetup-initramfs:amd64 rather than change cryptsetup:amd64
```
Which I think is the culprit of the problem.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: ubuntu-release-upgrader-core 1:24.04.18
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelModules: zfs nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
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)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to noble on 2024-05-30 (0 days ago)
VarLogDistupgradeXorgFixuplog:
INFO:root:/usr/bin/do-release-upgrade running
INFO:root:No xorg.conf, exiting |
[Impact]
If an upgrade removes cryptsetup-initramfs, the system can then fail to boot.
[Test Plan]
We don't currently have a reproducer for this scenario, so we need to test that cryptsetup-initramfs is listed in the removal_denylist.cfg during upgrades to Noble.
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-release-upgrader-* -type d)"
3. Check that cryptsetup-initramfs is in the removal deny list:
grep "cryptsetup-initramfs" "$tmpdir/removal_denylist.cfg"
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-initramfs package name, and would therefore not prevent removal during upgrades.
[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-upgrade` (everything went without a problem), I rebooted and got a initramfs prompt complaining about root filesystem not being available.
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-initramfs` package was not installed. After installing it, it produced a new and slightly larger initramfs. With it, I was able to boot with the 6.8.0 kernel.
From the upgrade logs, I can see the following:
```
Investigating (0) cryptsetup-initramfs:amd64 < 2:2.7.0-1ubuntu4 @ii gK Ib >
Broken cryptsetup-initramfs:amd64 Depends on cryptsetup:amd64 < 2:2.7.0-1ubuntu4 @ii pgP > (>= 2:2.7.0-1ubuntu4)
Considering cryptsetup:amd64 10000 as a solution to cryptsetup-initramfs:amd64 0
Removing cryptsetup-initramfs:amd64 rather than change cryptsetup:amd64
```
Which I think is the culprit of the problem.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: ubuntu-release-upgrader-core 1:24.04.18
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelModules: zfs nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
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)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to noble on 2024-05-30 (0 days ago)
VarLogDistupgradeXorgFixuplog:
INFO:root:/usr/bin/do-release-upgrade running
INFO:root:No xorg.conf, exiting |
|
2024-08-06 20:54:56 |
Nick Rosbrook |
ubuntu-release-upgrader (Ubuntu Oracular): status |
New |
Fix Committed |
|
2024-08-06 20:54:59 |
Nick Rosbrook |
ubuntu-release-upgrader (Ubuntu Noble): status |
New |
In Progress |
|
2024-08-07 00:49:32 |
Launchpad Janitor |
ubuntu-release-upgrader (Ubuntu Oracular): status |
Fix Committed |
Fix Released |
|
2024-08-12 11:06:38 |
Łukasz Zemczak |
ubuntu-release-upgrader (Ubuntu Noble): status |
In Progress |
Fix Committed |
|
2024-08-12 11:06:40 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2024-08-12 11:06:42 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2024-08-12 11:06:46 |
Łukasz Zemczak |
tags |
amd64 apport-bug dist-upgrade foundations-todo noble |
amd64 apport-bug dist-upgrade foundations-todo noble verification-needed verification-needed-noble |
|
2024-08-12 17:39:24 |
Nick Rosbrook |
tags |
amd64 apport-bug dist-upgrade foundations-todo noble verification-needed verification-needed-noble |
amd64 apport-bug dist-upgrade foundations-todo noble verification-done verification-done-noble |
|