Bug 54240

Summary: Syntax error in ifup script
Product: [Retired] Red Hat Public Beta Reporter: W. Michael Petullo <redhat>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED WORKSFORME QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: roswellCC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-10-02 12:32:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description W. Michael Petullo 2001-10-02 12:31:58 UTC
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 15:41:25 UTC
Um, AFAIK, neither of those lines have ever been commented out. They certainly
aren't in the current rawhide version.