In the new dracut ebuilds starting from dracut-006-r1, the dracut modules that are unnecessary (i.e. not specified by USE switches and not depended on) are not installed. However, the lvm dracut module depends on the dm dracut module. FIX: add lvm to DM_IUSE in the ebuild. Reproducible: Always Steps to Reproduce: 1. USE='lvm -crypt -dmraid -dmsquash-live' emerge dracut 2. run dracut: you get the following warning: W: Cannot load dracut module "lvm", dependencies failed. 3. lvm is not included in the image, system cannot boot if root fs is on LVM
Created attachment 244445 [details, diff] Trivial ebuild patch for lvm
Created attachment 244451 [details, diff] Trivial ebuild patch for lvm, fixed Minor fix: lvm should be removed from COMMON_IUSE
Created attachment 244589 [details] dracut-007-r1.ebuild Thank you for your report and patch. I have reviewed modules dependencies once again, was just that.
Thanks for the report! Committed to the tree.