Bug 3003 - rc.sysinit is broken in a really dumb way.
rc.sysinit is broken in a really dumb way.
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
6.0
All Linux
medium Severity high
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-05-24 11:09 EDT by Peter Jones
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-05-24 11:27:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Peter Jones 1999-05-24 11:09:02 EDT
--- /etc/rc.d/rc.sysinit.old    Mon May 24 11:05:53 1999
+++ /etc/rc.d/rc.sysinit        Mon May 24 11:06:19 1999
@@ -174,9 +174,9 @@
        mver=`uname -r`
     else
        ktag="`cat /proc/version`"
-       mtag=grep -l "$ktag" /lib/modules/*/.rhkmvtag 2>
/dev/null
+       mtag=`grep -l "$ktag" /lib/modules/*/.rhkmvtag 2>
/dev/null`
        if [ -n "$mtag" ]; then
-          mver=echo $mtag | sed -e 's,/lib/modules/,,' -e
's,/.rhkmvtag,,' -e 's,[       ].*$,,'
+          mver=`echo $mtag | sed -e 's,/lib/modules/,,' -e
's,/.rhkmvtag,,' -e 's,[       ].*$,,'`
        fi
        if [ -n "$mver" ]; then
          ln -sf /lib/modules/$mver /lib/modules/default
Comment 1 Peter Jones 1999-05-24 11:10:59 EDT
This patch makes the /lib/modules/default and /lib/modules/preferred
stuff actually work.
Comment 2 Bill Nottingham 1999-05-24 11:27:59 EDT
already fixed in the latest initscripts...

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