Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401709 - sys-fs/zfs-9999 uses wrong install dir for dracut modules
Summary: sys-fs/zfs-9999 uses wrong install dir for dracut modules
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Low normal (vote)
Assignee: Richard Yao (RETIRED)
Whiteboard: Pull request pending QA review
Keywords: Inclusion, PATCH
Depends on:
Reported: 2012-01-31 22:28 UTC by Marcin Mirosław
Modified: 2012-10-06 15:50 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2012-01-31 22:28:35 UTC
# equery f zfs|grep dracut

Dracut expects modules to be placed in /usr/lib/dracut/modules.d/ dir.
Comment 1 Mike Gilbert gentoo-dev 2012-02-01 00:01:54 UTC
dracut-013 installs modules in /usr/share/dracut/modules.d
dracut-014 moves them to /usr/lib/dracut/modules.d

Comment 2 Richard Yao (RETIRED) gentoo-dev 2012-02-01 01:10:04 UTC
I am preparing to submit ZFS support patches for inclusion into Gentoo's sys-kernel/genkernel. If you are set on using the latest version of Dracut, Zachary Bedell from the ZFSOnLinux project maintains an overlay that you can use to obtain it:

As per my chat with Amadeusz Żołnowski (the Gentoo dracut maintainer) in IRC last night, I plan to talk with Zachary Bedell about submitting these modules for inclusion into dracut upstream. The current plan is to move these into the dracut ebuild after they are accepted.

After the situation with upstream is resolved, I will reassign responsibility to Amadeusz Żołnowski. In the mean time, I suggest that you use sys-kernel/dracut-013, which is known to work with the current sys-fs/zfs-9999.
Comment 3 Richard Yao (RETIRED) gentoo-dev 2012-02-01 01:51:12 UTC
I would change this bug's status to in progress if I could, but I don't seem to have the authority to do that.

With that said, I filed a bug report with upstream describing how the Gentoo developers would like to resolve this:

I also sent an email to Zachary Bedell about it.
Comment 4 Richard Yao (RETIRED) gentoo-dev 2012-02-01 05:55:10 UTC
I have submitted my patches to genkernel upstream for review. Anyone interested in using them in the interim can use the genkernel-9999 ebuild from my overlay:

layman -o -f -a zfs
Comment 5 Zachary Bedell 2012-02-05 18:54:38 UTC
I've submitted a pull request to ZFS upstream which should allow the configure script to figure out where Dracut lives on the current system.  It's attached to the github issue:
Comment 6 Richard Yao (RETIRED) gentoo-dev 2012-07-28 03:03:23 UTC
I have collected the work of the ZFSOnLinux community on the ZFS dracut module into the ryao branch of the zfsonlinux/dracut git repository in preparation for an upstream pull request:
Comment 7 Richard Yao (RETIRED) gentoo-dev 2012-10-06 15:50:14 UTC
dracut support has been removed from the ebuilds in the tree, so this is no longer an issue.