Red Hat Bugzilla – Bug 63903
/etc/rc.d/init.d/network starts network interfaces when it should not
Last modified: 2014-03-16 22:27:07 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020311
Description of problem:
Configuring network interfaces using redhat-config-network emits lines like this
into the generated ifcfg-* files. Note that it's using the ' characters as
brackets aroung the variable's value! When /etc/rc.d/init.d/network is egrep'ing
through those ifcfg-* files during boot, it's however searching for
See the problem? The regex is wrong, in that it won't find the pattern in the
files generated by redhat-config-network. The regex should be this instead:
This will successfully find the following patterns:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Start redhat-config-network and configure a network device to *not* load ONBOOT
2.Save changes and reboot
3.Watch the messages and you'll see that the i/f _will_ be started!
Actual Results: The interface will be started.
Expected Results: The interface should not be started, of course.
The interface will not actually be started because 'boot' is passed to ifup,
which will do the right thing. It's just a weird display issue.
Closing bugs on older, no longer supported, releases. Apologies for any lack of
If this persists on a current release, such as Fedora Core 4, please open a new bug.