Bug 54240 - Syntax error in ifup script
Summary: Syntax error in ifup script
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: initscripts   
(Show other bugs)
Version: roswell
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
Depends On:
TreeView+ depends on / blocked
Reported: 2001-10-02 12:31 UTC by W. Michael Petullo
Modified: 2014-03-17 02:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-10-02 12:32:02 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

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:

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.

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