Bug 468280

Summary: Missing package dependency
Product: Red Hat Enterprise Linux 5 Reporter: Sean E. Millichamp <sean>
Component: module-init-toolsAssignee: Jon Masters <jcm>
Status: CLOSED NOTABUG QA Contact: BaseOS QE <qe-baseos-auto>
Severity: low Docs Contact:
Priority: medium    
Version: 5.2CC: apevec, ehabkost, quintela, ralph
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-12 21:23:38 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 Sean E. Millichamp 2008-10-23 21:00:00 UTC
Description of problem:

/sbin/weak-modules calls "nm".

nm is provided by the binutils package, which is not a dependency of module-init-tools.  If binutils isn't installed then /sbin/weak-modules shows errors about not being able to run nm ('xargs: nm: No such file or directory')

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

module-init-tools-3.3-0.pre3.1.37.el5

How reproducible:

Every time.

Additional info:

The addition of:
Requires (pre): binutils
in the specfile should fix it.

Comment 1 Juan Quintela 2009-04-13 12:50:01 UTC
Once there, weak-modules also calls mkinitrd, and it don't depend on it.

I was able to get a machine install without mkinitrd with this %packages section on the kickstart:

%packages
@base
@base-x
@core
@gnome-desktop
comps-extras
cracklib-dicts
gnome-mime-data
gnome-applets
autofs
rmt
tzdata
gcc
ncurses-devel
python-devel
rpm-build
strace
zlib-devel
-anacron

Comment 2 Jon Masters 2009-05-11 20:20:36 UTC

*** This bug has been marked as a duplicate of bug 463777 ***

Comment 3 Sean E. Millichamp 2009-05-11 20:36:08 UTC
How is this a duplicate of #463777 ?

That bug is about calling nm without passing any parameters.  This bug is about RPM package dependencies.  They are both regarding nm, but that is as far as I see the similarity go.

Comment 5 Jon Masters 2009-05-12 21:23:38 UTC
This actually got fixed as part of 463777 is what I mean :)