View Issue Details

IDProjectCategoryView StatusLast Update
0003205CentOS-5module-init-toolspublic2008-10-29 00:00
Reporterseanmil Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version5.2 
Summary0003205: module-init-tools package missing dependency
DescriptionWhile installing a kmod update I saw an error which I traced back to module-init-tools.

Installing: kmod-gfs-xen ####################### [ 9/21]
xargs: nm: No such file or directory

Line 227 of /sbin/weak-modules calls "nm", provided by binutils. binutils is not listed as a package dependency of module-init-tools.
Additional InformationI marked this as "minor", but I really don't know how important the availability of nm is to the proper functioning of the /sbin/weak-modules script.
TagsNo tags attached.

Relationships

has duplicate 0003215 closedkbsingh@karan.org module-init-tools should have dependency on binutils 

Activities

herrold

herrold

2008-10-21 04:06

reporter   ~0008170

This is an upstream missing Requires ... the %pre and %post install scriptlets are by design NOT inventoried by rpmbuild to automatically insert such as the task would require deep (and shifting) knowledge in rpmbuild of how every potential 'nix command works -- not doable.

As the solution, a Requires (pre): binutils [in this case, as nm seemingly holds nm presently (no reason that nm might not be split out to a sub-package, which is the genesis of the problem referenced in the first para) -- a 'file requires' of: /usr/bin/nm would also work, but then is tied to a given path (which impairs an ability to move it, say, to /bin/ as a static linked variant for a recovery tool, or for a initscript friendly location .... but there is only so much one can have on the root partition, before one runs out of space ...)]

Anyway, here there is a missing manual Requires (pre): binutils

Please file it upstream and note the bug number here.

-- Russ herrold
seanmil

seanmil

2008-10-23 21:00

reporter   ~0008186

Bug filed upstream: https://bugzilla.redhat.com/show_bug.cgi?id=468280

Issue History

Date Modified Username Field Change
2008-10-20 18:00 seanmil New Issue
2008-10-21 04:06 herrold Note Added: 0008170
2008-10-23 21:00 seanmil Note Added: 0008186
2008-10-28 23:58 user430 Relationship added has duplicate 0003215
2008-10-29 00:00 user430 Status new => acknowledged