Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334347 - sys-kernel/dracut-007 lvm module depends on dm module
Summary: sys-kernel/dracut-007 lvm module depends on dm module
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Lance Albertson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-24 20:11 UTC by Akos Szalkai
Modified: 2010-08-25 17:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Trivial ebuild patch for lvm (dracut-lvm.diff,476 bytes, patch)
2010-08-24 20:12 UTC, Akos Szalkai
Details | Diff
Trivial ebuild patch for lvm, fixed (dracut-lvm.diff,585 bytes, patch)
2010-08-24 20:17 UTC, Akos Szalkai
Details | Diff
dracut-007-r1.ebuild (dracut-007-r1.ebuild,4.86 KB, text/plain)
2010-08-25 17:13 UTC, Amadeusz Żołnowski (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Akos Szalkai 2010-08-24 20:11:09 UTC
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
Comment 1 Akos Szalkai 2010-08-24 20:12:40 UTC
Created attachment 244445 [details, diff]
Trivial ebuild patch for lvm
Comment 2 Akos Szalkai 2010-08-24 20:17:37 UTC
Created attachment 244451 [details, diff]
Trivial ebuild patch for lvm, fixed

Minor fix: lvm should be removed from COMMON_IUSE
Comment 3 Amadeusz Żołnowski (RETIRED) gentoo-dev 2010-08-25 17:13:51 UTC
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.
Comment 4 Lance Albertson (RETIRED) gentoo-dev 2010-08-25 17:47:24 UTC
Thanks for the report! Committed to the tree.