Bug 11267 - rc.sysinit syntax error
rc.sysinit syntax error
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
6.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-05-06 18:17 EDT by Jan Carlson
Modified: 2014-03-16 22:13 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-05-11 17:27:56 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 Jan Carlson 2000-05-06 18:17:45 EDT
A syntax error in rc.sysinit shows up when the running kernel
release string contains no "-" character.

-----------cut---------------
*** rc.sysinit.redhat	Wed Feb 23 13:12:09 2000
--- rc.sysinit	Sat May  6 17:29:31 2000
***************
*** 242,248 ****
  rm -f /lib/modules/default
  if [ -x /sbin/depmod -a -n "$USEMODULES" ]; then
      # If they aren't using a recent sane kernel, make a link for them
!     if [ ! -n `uname -r | grep "-"` ]; then
         ktag="`cat /proc/version`"
         mtag=`grep -l "$ktag" /lib/modules/*/.rhkmvtag 2> /dev/null`
         if [ -n "$mtag" ]; then
--- 242,248 ----
  rm -f /lib/modules/default
  if [ -x /sbin/depmod -a -n "$USEMODULES" ]; then
      # If they aren't using a recent sane kernel, make a link for them
!     if [ ! -n "`uname -r | grep -- -`" ]; then
         ktag="`cat /proc/version`"
         mtag=`grep -l "$ktag" /lib/modules/*/.rhkmvtag 2> /dev/null`
         if [ -n "$mtag" ]; then
----------------cut----------------------
Comment 1 Nalin Dahyabhai 2000-05-11 17:27:59 EDT
This will be fixed in initscripts 5.13 and later in Raw Hide
(ftp://ftp.redhat.com/pub/rawhide/i386/RedHat/RPMS/).

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