Red Hat Bugzilla – Bug 507359
boot fails because init script doesn't contain all necessary encrypted volumes
Last modified: 2010-01-12 10:32:53 EST
Created attachment 348905 [details] output from parted, cryptsetup, crypttab, fstab, pvs and diff to fixed init Description of problem: initrd init script doesn't contain encrypted logical volumes in extended partition which prevents lvm from initializing it self and therefore causing boot to halt silently. Version-Release number of selected component (if applicable): mkinitrd-6.0.87-1.fc11.x86_64 How reproducible: install f11 with encrypted logical volume(s) in extended partition Steps to Reproduce: 1. install f11 with encrypted logical volume(s) in extended partition 2. reboot and enter luks password 3. system hangs forever. no error messages. Actual results: boot hangs after install Expected results: boot successfully after install Additional info: problem can be fixed by adding setDeviceEnv LUKSUUID UUID=foo echo Setting up disk encryption: $LUKSUUID buildEnv LUKSUUID cryptsetup luksOpen $LUKSUUID luks-foo plymouth ask-for-password --command $LUKSUUID for each logical luks volume in extended partition to init script. see attachment for output from - parted - cryptsetup - /etc/crypttab - /etc/fstab - pvs - diff from manually patched init script
possibly related: bug #501198.
This is a mass edit of all mkinitrd bugs. Thanks for taking the time to file this bug report (and/or commenting on it). As you may have heard in Fedora 12 mkinitrd has been replaced by dracut. In Fedora 12 the mkinitrd package is still around as some programs depend on certain libraries it provides, but mkinitrd itself is no longer used. In Fedora 13 mkinitrd will be removed completely. This means that all work on initrd has stopped. Rather then keeping mkinitrd bugs open and giving false hope they might get fixed we are mass closing them, so as to clearly communicate that no more work will be done on mkinitrd. We apologize for any inconvenience this may cause. If you are using Fedora 11 and are experiencing a mkinitrd bug you cannot work around, please upgrade to Fedora 12. If you experience problems with the initrd in Fedora 12, please file a bug against dracut.