Bug 694052
Summary: | mkinitrd ignores /etc/modprobe.d/*.conf | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | RHEL Program Management <pm-rhel> |
Component: | mkinitrd | Assignee: | Brian Lane <bcl> |
Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 5.5 | CC: | atodorov, bcl, buckh, ddumas, jbastian, jeder, johan.huysmans, jwest, plyons, pm-eus, rwilliam, tao |
Target Milestone: | rc | Keywords: | ZStream |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | mkinitrd-5.1.19.6-68.el5_6.1 | Doc Type: | Bug Fix |
Doc Text: |
When creating the initrd file, the mkinitrd utility reads the configuration to determine what kernel modules to load and which module options to use. Previously, the mkinitrd utility only read the /etc/modprobe.conf configuration file. This update corrects this error, and when the /etc/modprobe.conf file does not exist, mkinitrd now attempts to read the configuration from the files located in /etc/modprobe.d/ instead.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2011-04-11 09:13:30 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: | |||
Bug Depends On: | 564392 | ||
Bug Blocks: |
Description
RHEL Program Management
2011-04-06 10:46:32 UTC
Tested with instructions from https://bugzilla.redhat.com/show_bug.cgi?id=564392#c2 and with mkinitrd-5.1.19.6-68.el5_6.1.x86_64: # echo "alias scsi_hostadapter2 cciss" > /etc/modprobe.d/test.conf # mv /etc/modprobe.conf /etc/modprobe.conf.back # mkinitrd -f --nocompress /tmp/initrd-testing.img `uname -r` Modulefile is /etc/modprobe.d/blacklist.conf /etc/modprobe.d/test.conf # cpio -t < /tmp/initrd-testing.img | grep cciss 16781 blocks lib/cciss.ko # Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: When creating the initrd file, the mkinitrd utility reads the configuration to determine what kernel modules to load and which module options to use. Previously, the mkinitrd utility only read the /etc/modprobe.conf configuration file. This update corrects this error, and when the /etc/modprobe.conf file does not exist, mkinitrd now attempts to read the configuration from the files located in /etc/modprobe.d/ instead. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0430.html |