Bug 694052 - mkinitrd ignores /etc/modprobe.d/*.conf
Summary: mkinitrd ignores /etc/modprobe.d/*.conf
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: mkinitrd
Version: 5.5
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Brian Lane
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On: 564392
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-06 10:46 UTC by RHEL Program Management
Modified: 2013-01-11 03:55 UTC (History)
12 users (show)

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.
Clone Of:
Environment:
Last Closed: 2011-04-11 09:13:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0430 0 normal SHIPPED_LIVE mkinitrd bug fix update 2011-04-11 09:13:24 UTC

Description RHEL Program Management 2011-04-06 10:46:32 UTC
This bug has been copied from bug #564392 and has been proposed
to be backported to 5.6 z-stream (EUS).

Comment 5 Alexander Todorov 2011-04-07 12:03:23 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
#

Comment 7 Jaromir Hradilek 2011-04-08 13:50:50 UTC
    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.

Comment 8 errata-xmlrpc 2011-04-11 09:13:30 UTC
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


Note You need to log in before you can comment on or make changes to this bug.