Bug 1958438 - indefinite wait at startup for non-configured cryptoLUKS device
Summary: indefinite wait at startup for non-configured cryptoLUKS device
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: dracut-maint-list
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F35BetaBlocker
TreeView+ depends on / blocked
 
Reported: 2021-05-08 01:25 UTC by Chris Murphy
Modified: 2021-07-03 19:51 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-03 19:51:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
journal.log (6.01 MB, text/plain)
2021-05-08 01:25 UTC, Chris Murphy
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github dracutdevs dracut issues 1460 0 None open indefinite wait at startup for non-configured cryptoLUKS device 2021-05-08 01:25:38 UTC

Description Chris Murphy 2021-05-08 01:25:25 UTC
Created attachment 1780918 [details]
journal.log

Description of problem:

Following clean install of Fedora 34, a cryptoLUKS device is added. And now I get a plymouth dialog to unlock the device before I can startup. This is a device that was not configured at the time of Fedora 34 being installed, but its existence now prevents boot. It can also prevent boot following a clean install of Fedora 34 when that cryptoLUKS device was ignored (not included in the installation).


Version-Release number of selected component (if applicable):
 dracut-053-5.fc34.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install Fedora 34 no encryption.
2. Add a partition with a cryptoLUKS signature (cryptsetup luksFormat).
3. Boot

Actual results:

I get a plymouth passphrase screen, indefinite wait.


Expected results:

The system should boot. There's no rd.luks hint on the kernel command line, there's no /etc/crypttab configuration. It's asking for a passphrase for this device merely because it exists and isn't at all part of the boot chain.


Additional info:

Comment 1 Fedora Blocker Bugs Application 2021-05-08 01:30:08 UTC
Proposed as a Blocker for 35-beta by Fedora user chrismurphy using the blocker tracking app because:

 If I have a cryptLUKS partition on the system at the time of a Fedora installation, and do an installation that doesn't include this partition and also doesn't use any encrypted devices at all, I get an unexpected passphrase dialog at the next boot that requires user intervention.

Basic:
"A system installed with a release-blocking desktop must boot to a log in screen.
In all of the above cases, the boot should proceed without any unexpected user intervention being required. "

Comment 2 Chris Murphy 2021-05-08 01:33:10 UTC
It's the same dracut in F34 and Rawhide so I'm assuming the same bug exists in Rawhide. Someone will surely ask/test if this is still a bug once it really matters.

Comment 3 Adam Williamson 2021-07-02 21:57:35 UTC
from the upstream issue, you weren't able to reproduce this issue when you tried again. does it still seem to be a problem?

Comment 4 Chris Murphy 2021-07-03 19:51:31 UTC
I can't reproduce it anymore.


Note You need to log in before you can comment on or make changes to this bug.