Bug 586594 - Missing udev dependency for rdma
Summary: Missing udev dependency for rdma
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: rdma
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Doug Ledford
QA Contact: Gurhan Ozen
Depends On:
TreeView+ depends on / blocked
Reported: 2010-04-27 23:25 UTC by Justin Clift
Modified: 2013-11-04 01:59 UTC (History)
2 users (show)

Fixed In Version: rdma-1.0-7.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-11-10 21:28:19 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Justin Clift 2010-04-27 23:25:58 UTC
Description of problem:

Installed rdma-1.0-6.el6.noarch from yum, however when starting the /etc/init.d/ script errors are reported for missing udev components:

[jc@storage1 rdma]$ sudo /etc/init.d/rdma start
Loading OpenIB kernel modules:/etc/init.d/rdma: line 142: udevtrigger: command not found
/etc/init.d/rdma: line 143: udevsettle: command not found
                                                           [  OK  ]
[jc@storage1 rdma]$


Version-Release number of selected component (if applicable):


How reproducible:

Every time.

Steps to Reproduce:
1. Install rdma package from RHEL6 beta repository via yum
2. Start rdma init script <-- Error occurs here
Actual results:

The Infiniband kernel modules are loaded, but the rdma script throws errors.

Expected results:

The Infiniband kernel modules to load, but no errors to be thrown by the init script.

Additional info:

Comment 1 Justin Clift 2010-04-27 23:55:38 UTC
On further investigation, this appears to be more serious than first thought:

a) udevtrigger was a part of the udev package in RHEL5, but the udev package in RHEL6 doesn't include it.  If this is due to an intentional change in udev, then the rdma init script will need updating.

b) The "ib_mthca" Infiniband hardware module (required for the Infiniband cards we use) is not loaded by the rdma script, though it is unloaded by it at shutdown.  This ib_mthca module needs to be loaded before the ib_ipoib module (also loaded by this init script) for IP over Infiniband interfaces to come up.

In RHEL 5, this appears to be done through udevtrigger, but isn't working now due to this bug.

Comment 3 RHEL Program Management 2010-04-28 01:15:20 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for

Comment 4 Doug Ledford 2010-04-28 18:05:00 UTC
The udevtrigger/udevsettle issue was already resolved in Fedora and the package simply needs reimporting into rhel6.  However, the udev dependency was not previously taken care of.  Both will be resolved prior to beta2.

Comment 5 Doug Ledford 2010-05-26 04:54:54 UTC
Actually, the Requires: udev was already present, although it didn't require a late enough version.  The real problem was that the scripts still did udevtrigger and udevsettle instead of udevadm trigger and udevadm settle.  Switching the init script to use the preferred method of invoking udev and requiring a later version of udev in the rpm spec file solves the problem.

Comment 6 Gurhan Ozen 2010-07-14 19:01:34 UTC
# rpm -q --requires rdma | grep udev
udev >= 145

Comment 7 releng-rhel@redhat.com 2010-11-10 21:28:19 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

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