RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1241547 - 40-redhat.rules not included in initramfs
Summary: 40-redhat.rules not included in initramfs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: dracut
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: dracut-maint
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-09 13:01 UTC by Rik Theys
Modified: 2016-08-03 14:27 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 12:54:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2091 0 normal SHIPPED_LIVE dracut bug fix and enhancement update 2015-11-19 11:13:43 UTC

Description Rik Theys 2015-07-09 13:01:58 UTC
Description of problem:

Since systemd-208-20.el7_1.5.x86_64, 40-redhat.rules contains directives to load the sg module.

Dracut doesn't include the 40-redhat.rules file into the initrd and for devices detected in early boot, the rules don't get applied.

Please update dracut to include 40-redhat.rules in the initrd.


Version-Release number of selected component (if applicable):
dracut-033-241.el7_1.3.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Attach a device that needs the sg driver to work (tape autochanger for example)
2. Reboot system
3.

Actual results:
The sg driver is not loaded.

Expected results:
The sg driver is loaded.


Additional info:

When the devices are hotplugged after boot, the sg driver does get loaded (as udev has the rules file).

Regards,

Rik

Comment 4 Michal Kovarik 2015-09-04 10:54:20 UTC
40-redhat.rules is included in dracut-033-314.el7.x86_64 (RHEL-7.2 Beta).

[root@system1 ~]# lsinitrd /boot/initramfs-3.10.0-306.0.1.el7.x86_64.img -f usr/lib/udev/rules.d/40-redhat.rules
# do not edit this file, it will be overwritten on update

# CPU hotadd request
SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", ATTR{online}="1"

# Memory hotadd request
SUBSYSTEM=="memory", ACTION=="add", ATTR{state}=="offline", ATTR{state}="online"

# reload sysctl.conf / sysctl.conf.d settings when the bridge module is loaded
ACTION=="add", SUBSYSTEM=="module", KERNEL=="bridge", RUN+="/usr/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/bridge"

# load SCSI generic (sg) driver
SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST!="[module/sg]", RUN+="/sbin/modprobe -bv sg

Comment 5 errata-xmlrpc 2015-11-19 12:54:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2091.html


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