Bug 5751 - module setup appears broken in rc.sysinit
Summary: module setup appears broken in rc.sysinit
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 6.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-10-09 03:54 UTC by doug
Modified: 2014-03-17 02:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1999-10-10 04:32:47 UTC


Attachments (Terms of Use)

Description doug 1999-10-09 03:54:20 UTC
There appears to be broken code in "/etc/rc.d/rc.sysinit",
in the section that is setting up the module stuff, just
before depmod runs.

The maintainer of initscripts needs to take a close look at
this. I haven't analyzed the possible effects, but it's
likely that the symlinks
	/boot/System.map
	/boot/module-info
will not be set correctly under some circumstances, causing
failure of depmod, modprobe, and consequently, of modules.

These two lines appear to be missing backticks:
AS DISTRIBUTED IN RH6.0:
  177:       mtag=grep -l "$ktag" /lib/modules/*/.rhkmvtag
2> /dev/null
  179:          mver=echo $mtag | sed -e 's,/lib/modules/,,'
-e 's,/.rhkmvtag,,' -e 's,[       ].*$,,'

Presumably they should read something like:
SUGGESTED FIX:
  177:       mtag=`grep -l "$ktag" /lib/modules/*/.rhkmvtag`
2> /dev/null
  179:          mver=`echo $mtag | sed -e
's,/lib/modules/,,' -e 's,/.rhkmvtag,,' -e 's,[
].*$,,'`

Comment 1 Bill Nottingham 1999-10-10 04:32:59 UTC
This has been fixed in the latest initscripts in Raw Hide, and also
in 6.1...


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