Bug 596531
| Summary: | mkinitrd ignores /etc/modprobe.d/modprobe.conf | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Jeff Bastian <jbastian> | ||||
| Component: | mkinitrd | Assignee: | Peter Jones <pjones> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Release Test Team <release-test-team-automation> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 5.5 | CC: | ddumas | ||||
| Target Milestone: | rc | Keywords: | Patch | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-05-26 21:50:37 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Oops, I missed bug 564392 when searching earlier. *** This bug has been marked as a duplicate of bug 564392 *** |
Created attachment 417037 [details] patch for mkinitrd to look at /etc/modprobe.d/* Description of problem: If modprobe.conf is moved to /etc/modprobe.d/ (since /etc/modprobe.conf is deprecated), mkinitrd ignores the file and generates a bad initrd image (i.e., it's missing modules). Version-Release number of selected component (if applicable): mkinitrd-5.1.19.6-61 How reproducible: every time Steps to Reproduce: 1. (if necessary) edit /etc/modprobe.conf and add a line to use the cciss module: alias scsi_hostadapter2 cciss 2. mv /etc/modprobe.conf /etc/modprobe.d/ 3. mkinitrd -f --nocompress /tmp/initrd-testing.img `uname -r` 4. cpio -t < /tmp/initrd-testing.img | grep cciss Actual results: cciss module is not included in /tmp/initrd-testing.img Expected results: cciss module is included # cpio -t < /tmp/initrd-orig-etc_modprobe_conf.img | grep cciss 17077 blocks lib/cciss.ko