Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435310 - sys-kernel/dracut-023: sys-fs/mdadm and sys-fs/lvm2 "automagic"
Summary: sys-kernel/dracut-023: sys-fs/mdadm and sys-fs/lvm2 "automagic"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amadeusz Żołnowski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-17 08:12 UTC by Nikoli
Modified: 2013-05-02 13:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2012-09-17 08:12:59 UTC
Version 023 has non consistent behaviour regarding mdadm and lvm: i have DRACUT_MODULES="", but /boot/initramfs.img has '/sbin/dmsetup' and '/lib64/libdevmapper.so.1.02' because sys-fs/lvm2-2.02.88 is installed and '/usr/lib64/dracut/modules.d/95udev-rules/59-persistent-storage.rules' ('/etc/udev/rules.d/59-persistent-storage.rules' in initramfs) wants dmsetup and mdadm. Please split 59-persistent-storage.rules to 59-persistent-storage-lvm.rules, 59-persistent-storage-md.rules, etc and install only parts for enabled modules.

I did not have such problem with dracut-022-r5.
Comment 1 Amadeusz Żołnowski (RETIRED) gentoo-dev 2012-09-19 18:30:13 UTC
I agree it would be a good idea to split rules file.
Comment 2 Nikoli 2012-11-05 20:05:18 UTC
sys-kernel/dracut-024-r2 does not install /lib64/libdevmapper.so.1.02 and /sbin/dmsetup to initramfs.img
Comment 3 Nikoli 2013-05-02 09:22:07 UTC
Seems dracut-027-r1 does not have this bug, but please recheck.
Comment 4 Nikoli 2013-05-02 09:35:41 UTC
Upstream commit c46cda8260a53884182a9c8ad06f59e56729bdb4
Comment 5 Amadeusz Żołnowski (RETIRED) gentoo-dev 2013-05-02 13:45:00 UTC
It is present in 027 which is in the tree, therefore RESO FIXED. Thank you for the notice.