| Summary: | Dracut does not include the crypt module when it should | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Daniel Lucio <luis.daniel.lucio> |
| Component: | RPM Packages | Assignee: | Colin Guthrie <mageia> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | mageia |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | dracut-025-1.mga3.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Daniel Lucio
2013-02-11 16:34:27 CET
Colin Guthrie
2013-02-12 23:04:14 CET
Status:
NEW =>
ASSIGNED Reproduced in my VM here. OK, I found the issue and have applied a patch that seems to resolve things for me. I've confirmed I can now generate an initrd and boot happily. To test on your system: 1. Boot into older kernel 2. Assuming you have 3.8.0-desktop-0.rc7.1.mga3 installed run: "dracut -f /boot/initrd-3.8.0-desktop-0.rc7.1.mga3.img 3.8.0-desktop-0.rc7.1.mga3" 3. Reboot I did have a second, unrelated issue where the kernel command line was not properly migrated on upgrade thus leaving it just saying "root=/dev/" without actually saying e.g. "root=/dev/mapper/crypt_sdb5". This was reported before but I was never able to reproduce. Now that I can reproduce that here, I will see if I can fix that issue. However, this specific issue should be resolved, so if you could close the bug once you've confirmed that dracut-025-2.mga3 works for you, that would be great. For reference, fix also sent upstream: http://thread.gmane.org/gmane.linux.kernel.initramfs/3117 Spoke to Harald upstream and he pointed to another commit that also addresses this issue (and likely others too). I've applied this alternative fix in 25-3.mga3, so please test that one instead (works for me).
Colin Guthrie
2013-02-13 23:31:03 CET
Summary:
Dracut with Luks doesnt uncript on boottime =>
Dracut does not include the crypt module when it should -2 works for me. I haven't tried -3 If you could try -3 that would be useful as it's a completely different fix! If it works for you, please mark the bug as resolved. Many thanks. -3 works perfectly here Status:
ASSIGNED =>
RESOLVED Awesome, cheers for letting me know :) |