Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 10832 - recent changes to init.d/network break network startup
recent changes to init.d/network break network startup
Product: Red Hat Raw Hide
Classification: Retired
Component: initscripts (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 2000-04-15 06:06 EDT by Gary Peck
Modified: 2014-03-16 22:13 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-04-17 10:50:49 EDT
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 Gary Peck 2000-04-15 06:06:14 EDT
Since upgrading to initscripts-5.07-1, my eth0 card was not being turned on
during bootup or during a manual "/etc/rc.d/init.d/network restart".

I traced the problem down to the following part of init.d/network:
for i in $interfaces; do
        if egrep -L "ONBOOT=\"?[Nn][Oo]\"?" ifcfg-$i | grep -v "^#"
>/dev/null ; then
                # Probe module to preserve interface ordering
                /sbin/ifconfig $i >/dev/null 2>&1
                action "Bringing up interface $i" ./ifup $i boot
the "egrep -L" was doing the opposite of what was intended, and should be
changed to "egrep -l".
Comment 1 Bill Nottingham 2000-04-17 10:50:59 EDT
Actually, just changing it to 'egrep -L "^<pattern>"
should do what's desired.

Fixed in 5.08-1 and later; thanks for the bug report.

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