Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559878 - sys-kernel/genkernel - include mdadm.conf when using --mdadm option
Summary: sys-kernel/genkernel - include mdadm.conf when using --mdadm option
Status: RESOLVED WONTFIX
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:
Blocks:
 
Reported: 2015-09-07 13:18 UTC by Tomáš Mózes
Modified: 2018-01-05 22:27 UTC (History)
0 users

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 Tomáš Mózes 2015-09-07 13:18:06 UTC
When running
# genkernel --mdadm initramfs

the initramfs file does not include /etc/mdadm.conf which is expected because we probably use some fixed naming. Wouldn't it make sense to automatically include --mdadm-config=/etc/mdadm.conf when running genkernel with --mdadm parameter?
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2015-12-20 22:05:41 UTC
I would expect that if you don't provide the config option we're running with mdmadm --assemble --scan and letting it put together anything it can. I would agree with this if our default config enabled the AUTO flag by default. Otherwise people might be surprised by a regression.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2018-01-05 22:27:07 UTC
This is documented in the genkernel.conf file. You need to set MDADM_CONFIG= or --mdadm-config. Without the config it tries to auto-detect instead.