Bug 2023122 - System fails to boot after disk password prompt
Summary: System fails to boot after disk password prompt
Keywords:
Status: CLOSED DUPLICATE of bug 1381136
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-14 22:15 UTC by elsakendrick
Modified: 2022-08-25 07:31 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-08-25 07:31:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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