Bug 2023122

Summary: System fails to boot after disk password prompt
Product: [Fedora] Fedora Reporter: elsakendrick
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 35CC: dtardon, fedoraproject, filbranden, flepied, lnykryn, msekleta, ryncsn, ssahani, s, systemd-maint, yuwatana, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-25 07:31:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description elsakendrick 2021-11-14 22:15:08 UTC
Description of problem:

System does not boot after 3 password attempts. It gets stuck on the boot splash screen. Have to kill the power to shutdown.

Version-Release number of selected component (if applicable):

Installed Packages
Name         : systemd
Version      : 249.6
Release      : 2.fc35
Architecture : x86_64

How reproducible:

After 3 failed password attempts

Steps to Reproduce:
1. Enter incorrect password 3 times at boot

Actual results:

System hangs.

Expected results:

Return to password prompt.

Additional info:

Adding rd.luks.options=<UUID>=discard,tries=0 to /etc/default/grub is a workaround to this problem.

(Warning speculation ahead)
May have somthing to do with arg_tries in:

https://github.com/systemd/systemd/blob/main/src/cryptsetup/cryptsetup.c

Comment 1 David Tardon 2022-08-25 07:31:49 UTC

*** This bug has been marked as a duplicate of bug 1381136 ***