Bug 25453 - typo in /etc/rc.d/init.d/network prevents eth0 from coming up at boot.
typo in /etc/rc.d/init.d/network prevents eth0 from coming up at boot.
Status: CLOSED DUPLICATE of bug 24674
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-02-01 04:44 EST by Max Eper
Modified: 2014-03-16 22:18 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-02-01 04:44:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Max Eper 2001-02-01 04:44:34 EST
[root@oldcow i386]# rpm -qf /etc/rc.d/init.d/network

Missing pipe near end of line 38 breaks the script - I ran it piece by 
piece from command line to find it.  Then $interfaces doesn't get set 
to 'eth0', so eth0 isn't brought up.

interfaces=`ls ifcfg* | egrep -v '(ifcfg-lo|:|rpmsave|rpmorig|rpmnew)' | \
	    egrep -v '(~|\.bak)$' \

should be:

interfaces=`ls ifcfg* | egrep -v '(ifcfg-lo|:|rpmsave|rpmorig|rpmnew)' | \
	    egrep -v '(~|\.bak)$'  | \

Hey, I learned a lot figuring this out.
Comment 1 Bill Nottingham 2001-02-01 11:32:59 EST

*** This bug has been marked as a duplicate of 24674 ***

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