Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438200 - genkernel initramfs --zfs: /etc/zfs/zpool.cache should not be mandatory
Summary: genkernel initramfs --zfs: /etc/zfs/zpool.cache should not be mandatory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on: 556398
Blocks:
  Show dependency tree
 
Reported: 2012-10-13 06:45 UTC by Alexander Zubkov
Modified: 2015-08-26 17:59 UTC (History)
2 users (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 Alexander Zubkov 2012-10-13 06:45:06 UTC
When making initramfs with --zfs option, genkernel tries to copy /etc/zfs/zpool.cache to initramfs and fails when it can not.
This cause several problems:
1) When I specify into kernel command line exactly what pool to import and force it, there is no need in this file, but it is forced and I should "touch" it before making initramfs.
2) There can be problems if I using disk names from /dev/disk/by-ids/ instead of /dev/sd* - initramfs do not see them. But in case of using /dev/sd* I still can got problems in initramfs if I will make changes into drives configuration. So it should not rely on this cache.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-11-02 16:55:53 UTC
ryao:
ZFS is your baby.
Comment 2 Rick Farina (Zero_Chaos) gentoo-dev 2015-08-20 16:31:58 UTC
current genkernel handles this fine already, not sure when it was fixed, so we can just close this bug on the next stabilization request.
Comment 3 Richard Yao (RETIRED) gentoo-dev 2015-08-26 17:59:57 UTC
My apologies. I fixed this a long time ago and forgot about this.