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