Cannot unlock encrypted root after upgrading to 22.04 - no prompt to enter a password
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| cryptsetup (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
Bug Description
Followup to https:/
I seem to have encountered this bug during a upgrade via the official upgrade pop-up notification.
Has the fix in 1979159 in fact been moved to -updates and would be included in a regular installation?
I upgraded a Ubuntu 20.04 desktop PC after it received the Ubuntu 22.04 upgrade pop-up notification, but could not unlock my encrypted root after reboot, instead receiving an error to the effect of "Gave up waiting for root device, ubuntu--vg-root does not exist" (not exact wording).
The workaround in 1979159 via live boot + chroot did not seem to work, and neither did running update + dist-upgrade which I hoped to resolve the OpenSSL issue, though I was able to unlock manually via live boot. I was pressed for time so did not pursue it further and did a full reinstall via a backup.
I did not enable `jammy-proposed` for this failed upgrade as I did in my initial successful testing of the 1979159 fix, which makes me suspect this fix is not being included in upgrades done via `ubuntu-
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 5.15.0-46-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Wed Aug 17 15:06:26 2022
InstallationDate: Installed on 2022-08-17 (0 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-
Symptom: release-upgrade
UpgradeStatus: No upgrade log present (probably fresh install)

Reassigning this bug to cryptsetup. ubuntu- release- upgrader does not unlock encrypted devices.
You ask if the fix for bug #1979159 has been released to -updates and it has. However, you have given us no reason to think that you are affected by the same bug as the submitter of that bug report, which to our knowledge does not affect any users that have installed Ubuntu at any point using the default cryptsetup options.
There is an unrelated bug that has been filed, reporting that a kernel upgrade has made cryptsetup unlocking unreliable at boot. It is possible you are/were affected by this bug.
https:/ /bugs.launchpad .net/ubuntu/ +source/ cryptsetup/ +bug/1986623
> I was pressed for time so did not pursue it further and did a full reinstall via a backup.
That is unfortunate, as your bug report includes no debugging information that would allow us to pinpoint the nature of the issue you experienced. So if you are no longer able to reproduce the bug, we have nothing to go on. All of our own upgrade tests have shown cryptsetup to work at boot after upgrade.
I will leave this bug report in 'incomplete' status, but if no further information is forthcoming, it will eventually close automatically.