Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 645176

Summary: sys-fs/zfs-9999 fails to install dracut module correctly with SYMLINK_LIB=no
Product: Gentoo Linux Reporter: f5200556
Component: Current packagesAssignee: Richard Yao <ryao>
Severity: normal CC: fearedbliss, vivo75
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 506276    

Description f5200556 2018-01-20 20:18:51 UTC
On the new 17.1 profile sys-fs/zfs-9999 installs it's dracut module to "/usr/lib64/dracut/modules.d/" while dracut looks for modules under "/usr/lib/dracut/modules.d/"
Comment 1 Georgy Yakovlev gentoo-dev 2018-03-06 09:10:12 UTC
same on 0.7.6

/usr/lib64/dracut/modules.d # ls
02zfsexpandknowledge  90zfs
Comment 2 Larry the Git Cow gentoo-dev 2018-03-08 16:21:30 UTC
The bug has been closed via the following commit(s):

commit 20c8e69ec3b25a431ee1c0e8cf3d1f0274dbffec
Author:     Georgy Yakovlev <>
AuthorDate: 2018-03-08 02:12:59 +0000
Commit:     Matthew Thode <>
CommitDate: 2018-03-08 16:20:40 +0000

    sys-fs/zfs: fix dracut module path
    zfs should use /usr/lib/dracut to install dracut modules.
    dracut ebuild defines:
            local dracutlibdir="usr/lib/dracut"
    with /usr/lib64 path on SYMLINK_LIB=no systems
    dracut fails to pick up zfs modules
    and generates an unbootable initramfs
    Package-Manager: Portage-2.3.24, Repoman-2.3.6
    Signed-off-by: Matthew Thode <>

 sys-fs/zfs/zfs- | 201 ++++++++++++++++++++++++++++++++
 sys-fs/zfs/zfs-  | 233 ++++++++++++++++++++++++++++++++++++++
 sys-fs/zfs/zfs-0.7.5-r2.ebuild    | 202 +++++++++++++++++++++++++++++++++
 sys-fs/zfs/zfs-0.7.6-r1.ebuild    | 202 +++++++++++++++++++++++++++++++++
 sys-fs/zfs/zfs-0.7.9999.ebuild    |   2 +-
 sys-fs/zfs/zfs-9999.ebuild        |   2 +-
 6 files changed, 840 insertions(+), 2 deletions(-)