I try to setup an laptop with a key file on usb stick. I've added the kernel cmd-line rd.luks.key=/crypt On restart dracut searches for the image on all devices but NOT on the attached USB stick. I can see messages about probing for the file "/crypt" on different devices, fails for the first time, then USB devices are detected and it executes again, but on all probed devices USB stick (partiions) is missing. extending rd.luks.key=/crypt:UUID=xxxxx does not solve the issue, there is no probe output anymore, but I assume it does not find the device via UUID because the usb detection is too late.
some additional info: 1. the filesystem on external (usb-stick) has to be the same as the root filesystem, since dracut only includes the kernel drivers for this filesystem 2. specifying UUID fails everytime, even if the UUID is correct (since I don't get output, I don't know if the expect the UUID with capitals or like /dev/by-uuid lowercase) 3. removing UUID succeeds, but due to the late detection of USB takes some time and does not look very relyable
Hi, thanks reporting this. Assigning globally to all packagers as there is not currently a dedicated maintainer. CC: Basesystem Team. Have you also test this behaviour on Cauldron?
Assignee: bugsquad => pkg-bugsCC: (none) => ouaurelienQA Contact: (none) => basesystem
Mageia 7 is EOL since July 1st 2021. There will not have any further bugfix for this release. You are encouraged to upgrade to Mageia 8 as soon as possible. @reporter, if this bug still apply with Mageia 8, please let us know it. @packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead. This bug report will be closed OLD if there is no further notice within 1st September 2021.
Version: 7 => 8