Bug 3003 - rc.sysinit is broken in a really dumb way.
Summary: rc.sysinit is broken in a really dumb way.
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts   
(Show other bugs)
Version: 6.0
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-05-24 15:09 UTC by Peter Jones
Modified: 2008-05-01 15:37 UTC (History)
0 users

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


Attachments (Terms of Use)

Description Peter Jones 1999-05-24 15:09:02 UTC
--- /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 15:10:59 UTC
This patch makes the /lib/modules/default and /lib/modules/preferred
stuff actually work.

Comment 2 Bill Nottingham 1999-05-24 15:27:59 UTC
already fixed in the latest initscripts...


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