I have recently upgraded my bootloader from GRUB Legacy (0.97-r12) to GRUB2 (2.00_p5107-r2), my kernel from 3.9.9-hardened to 3.11.7-hardened-r1, and Dracut from 031-r1 to 036-r4. After this, dracut fails to mount my encrypted swap and home LVs. I have been troubleshooting this for about a day now and have hit a roadblock. No matter what I do I can't get them to mount. I still have my 3.9.9 kernel and initramfs in GRUB2, and those mount/unlock my home and swap without issue.
Examining the logs shows the difference but I can't seem to locate what settings have changed.
New kernel & dracut log:
Code: Select all
[ 1.465737] dracut: dracut-036-r4
[ 2.450423] dracut: luksOpen /dev/sda2 luks-cfdc5b46-0c38-4825-ad12-3cddf2685941
[ 14.703674] dracut: Scanning devices dm-0 for LVM logical volumes vg/swap vg/root
[ 14.815655] dracut: inactive '/dev/vg/swap' [8.00 GiB] inherit
[ 14.815918] dracut: inactive '/dev/vg/root' [128.00 GiB] inherit
[ 14.816146] dracut: inactive '/dev/vg/home' [459.00 GiB] inherit
[ 15.296564] dracut: Checking ext4: /dev/vg/root
[ 15.296890] dracut: issuing e2fsck -a /dev/vg/root
[ 15.395030] dracut: /dev/vg/root: clean, 527502/8388608 files, 4252630/33554432 blocks
[ 15.397705] dracut: Mounting /dev/vg/root with -o noatime,ro
[ 15.552075] dracut: Mounted root filesystem /dev/mapper/vg-root
[ 15.732521] dracut: Switching root
Code: Select all
[ 3.261836] dracut: dracut-031-r1
[ 4.102284] dracut: luksOpen /dev/sda2 luks-cfdc5b46-0c38-4825-ad12-3cddf2685941
[ 18.403140] dracut: Scanning devices dm-0 for LVM volume groups
[ 18.408544] dracut: Reading all physical volumes. This may take a while...
[ 18.412908] dracut: Found volume group "vg" using metadata type lvm2
[ 18.442946] dracut: 3 logical volume(s) in volume group "vg" now active
[ 18.838639] dracut: Checking ext4: /dev/mapper/vg-root
[ 18.838951] dracut: issuing e2fsck -a /dev/mapper/vg-root
[ 18.917471] dracut: /dev/mapper/vg-root: clean, 527792/8388608 files, 4248981/33554432 blocks
[ 18.920099] dracut: Mounting /dev/mapper/vg-root with -o noatime,ro
[ 19.085850] dracut: Mounted root filesystem /dev/mapper/vg-root
[ 24.274358] dracut: Switching root


