Bug 1201812

Summary: Boot fails with rd.luks.key on command line
Product: [openSUSE] openSUSE Distribution Reporter: Peter Conrad <conrad-novell.com>
Component: BootloaderAssignee: dracut maintainers <dracut-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: antonio.feijoo
Version: Leap 15.4   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Leap 15.4   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Peter Conrad 2022-07-24 13:14:30 UTC
See forum thread here: https://forums.opensuse.org/showthread.php/572114-Boot-fails-with-rd-luks-key-on-command-line

After upgrading a 15.3 system that uses "rd.luks.key" on the command line to 15.4, booting fails with this message:
```
dracut: Found <keyfile> on <keydevice>
dracut: luksOpen <crypted-device> luks-<UUID>
dracut: Using <keyfile> on <keydevice>
Usage: cryptsetup [-?Vqrvy] [-?|--help] [--usage] [-V|--version] [--active-name=STRING]
...lots more...
[OPTION...] <action> <action-specific>
/sbin/cryptsetup: Unknown action.
```
Then it asks for the password.

The root cause seems to be this issue in upstream dracut: https://github.com/dracutdevs/dracut/issues/1528
Comment 1 Antonio Feijoo 2022-07-26 06:42:51 UTC
This fix will be included in the next dracut maintenance update, which should be released soon.

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