View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003205||CentOS-5||module-init-tools||public||2008-10-20 18:00||2008-10-29 00:00|
|Summary||0003205: module-init-tools package missing dependency|
|Description||While 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 Information||I 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.|
|Tags||No tags attached.|
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
|Bug filed upstream: https://bugzilla.redhat.com/show_bug.cgi?id=468280|