Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 700920

Summary: [RHEL6] DUP kmod package missing module-init-tools dependency
Product: Red Hat Enterprise Linux 6 Reporter: Travis Gummels <tgummels>
Component: driver-update-programAssignee: Jon Masters <jcm>
Status: CLOSED NOTABUG QA Contact: Chao Yang <chyang>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: bzeranski, jwest, qcai
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-26 21:29:05 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:

Description Travis Gummels 2011-04-29 19:40:10 UTC
Description of problem:

According to section 2.4.1 of the Driver Update Program manual:

http://people.redhat.com/jcm/el6/dup/docs/dup_book.pdf

you need a handful of packages to build drivers:

• createrepo (required when building Driver Update Disks)
• kabi-whitelists (required as a reference for official kABI)
• kabi-yum-plugins (optional enforcing plugin to mandate kABI)
• kernel-devel (older releases of RHEL had multiple possible kernel ”vari-
ants” such as kernel-xen-devel, but these do not exist in RHEL 6).
• redhat-rpm-config

It appears that if you don't also have module-init-tools installed find-provides.ksym silently fails (so your kmod package doesn't require the kernel bits).

We should probably add module-init-tools to the list of required packages or maybe make it a dependency for kernel-devel or something like that.
Version-Release number of selected component (if applicable):

How reproducible:

Attempt rpmbuild of DUP package on RHEL 6
  
Actual results:

find-provides.ksym silently fails (so your kmod package doesn't require and kernel bits)

Expected results:

No failure.

Additional info:

Comment 1 Jon Masters 2011-05-26 21:29:05 UTC
There should be no way that module-init-tools is not installed, since it is required for basic system operation. The only way it would be missing is if you're building inside a chroot or other environment, which we don't support. You can make it work, in that case, by simply including module-init-tools amongst the other packages you are pulling in.