Skip to content

luks encrypted system: Failed to start systemd-cryptsetup@luks when entering wrong password twice at boot --> boot fails and ends up in emergency shell #7412

@sebo505

Description

@sebo505

Please confirm there isn't an open report for this issue

  • I have searched through bug reports

Summary

When entering wrong luks(2) password at boot twice I get error Failed to start systemd-cryptsetup@luks. Boot fails and ends up in emergency shell.
Harvey was able to reproduce this in a VM.
I observe same issue with Fedora42 on same nvme as dual boot, but not with CachyOS on a different nvme connected via USB adapter to laptop.
In november, a user on the forum reported a freeze when entering incorrect luks password. Might be somehow related.
https://discuss.getsol.us/d/12096-incorrect-luks-password-results-in-an-indefinite-hang

Image

Steps to reproduce

  1. boot computer
  2. enter wrong luks password twice
  3. perceive error message

Expected result

System should ask to re-enter luks password

Actual result

System outputs error, does not ask to re-enter luks password and fails to boot.

Environment

  • Is system up to date?

Repo

Unstable

Desktop Environment

GNOME

System details

System:
Host: solus Kernel: 6.17.8-324.current arch: x86_64 bits: 64
Desktop: Budgie v: 10.9.4 Distro: Solus 4.8 opportunity
Machine:
Type: Laptop System: HP product: HP Laptop 17-cn3xxx v: Type1ProductConfigId
serial:
Mobo: HP model: 8BBA v: 65.15 serial: Firmware: UEFI
vendor: Insyde v: F.10 date: 11/25/2024
Battery:
ID-1: BAT0 charge: 40.7 Wh (100%) condition: 40.7/40.7 Wh (100%)
CPU:
Info: 10-core (2-mt/8-st) 13th Gen Intel Core i5-1334U [MST AMCP]
speed (MHz): avg: 400 min/max: 400/4600:3400
Graphics:
Device-1: Intel Raptor Lake-P [Iris Xe Graphics] driver: i915 v: kernel
Device-2: Cheng Uei Precision Industry (Foxlink) HP True Vision HD Camera
driver: uvcvideo type: USB
Display: x11 server: X.Org v: 21.1.21 with: Xwayland v: 24.1.9 driver: X:
loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915
resolution: 1920x1080~60Hz
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 25.3.1
renderer: Mesa Intel Iris Xe Graphics (RPL-U)
Info: Tools: api: eglinfo,glxinfo wl: swaymsg x11: xdpyinfo, xprop, xrandr
Network:
Device-1: Realtek RTL8852BE PCIe 802.11ax Wireless Network [1T1R]
driver: rtw89_8852be
Drives:
Local Storage: total: 931.51 GiB used: 447.43 GiB (48.0%)
Info:
Memory: total: 16 GiB note: est. available: 15.33 GiB used: 7.95 GiB (51.9%)
Processes: 506 Uptime: 2h 20m Shell: Bash inxi: 3.3.40

Other comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions