Bug 54240 - Syntax error in ifup script
Syntax error in ifup script
Status: CLOSED WORKSFORME
Product: Red Hat Public Beta
Classification: Retired
Component: initscripts (Show other bugs)
roswell
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-10-02 08:31 EDT by W. Michael Petullo
Modified: 2014-03-16 22:23 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-10-02 08:32:02 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 W. Michael Petullo 2001-10-02 08:31:58 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010808

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.  Install initscripts-6.20-1 RPM
2.  Use ifup to start the network loopback interface (./ifup lo).
	

Actual Results:  The following error was printed:

./ifup: line 231: unexpected EOF while looking for matching ``'
./ifup: line 251: syntax error: unexpected end of file

Expected Results:  The network loopback interface should have been brought up.

Additional info:

The ifup script contains the following, around line 98:

#    FOUNDMACADDR=`LC_ALL= LANG= ip -o link show ${REALDEVICE} | \
       sed 's/.*link\/ether \([[:alnum:]:]*\).*/\1/'`

It should look like this:

#    FOUNDMACADDR=`LC_ALL= LANG= ip -o link show ${REALDEVICE} | \
#       sed 's/.*link\/ether \([[:alnum:]:]*\).*/\1/'`

There is a missing comment character on the second line.
Comment 1 Bill Nottingham 2001-10-02 11:41:25 EDT
Um, AFAIK, neither of those lines have ever been commented out. They certainly
aren't in the current rawhide version.

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