Bug 103959 - ONBOOT config parameter doesn't work for network interface aliases
ONBOOT config parameter doesn't work for network interface aliases
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2003-09-08 09:33 EDT by AxIT
Modified: 2014-03-16 22:38 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-09-08 12:37:36 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch for /home/amo/ifup-post (476 bytes, patch)
2003-09-08 09:35 EDT, AxIT
no flags Details | Diff
Patch for /home/amo/ifup-aliases (884 bytes, patch)
2003-09-08 09:37 EDT, AxIT
no flags Details | Diff

  None (edit)
Description AxIT 2003-09-08 09:33:44 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313

Description of problem:
When configuring interface aliases using /etc/sysconfig/network-scripts/ifcfg-*,
parameter ONBOOT is ommited. Every time main interface is brought up during
boot, its aliases are also set up, despite of ONBOOT value.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Configure an alias for eth0, eg. in /etc/sysconfig/network-scripts/ifcfg-eth0:0
2. In ifcfg-eth0:0 set ONBOOT=no
3. Reboot

Actual Results:  Alias eth0:0 is up.

Expected Results:  Alias eth0:0 shouldn't be up.

Additional info:

I found that parameter 'boot' used in /etc/rc.d/init.d/network to notify other
scripts that we are in bootup process is not pased to ifup-aliases script. Also
ifup-aliases doesn't check if ONBOOT is set or not.
Comment 1 AxIT 2003-09-08 09:35:42 EDT
Created attachment 94300 [details]
Patch for /home/amo/ifup-post

Simple workaround to make things go the right way.
Comment 2 AxIT 2003-09-08 09:37:43 EDT
Created attachment 94301 [details]
Patch for /home/amo/ifup-aliases

...and second part of a workaround.
Comment 3 Bill Nottingham 2003-09-08 12:37:36 EDT
Hm, in current trees we have ONPARENT setting to more generically define which
aliases are automatically brought up on bringing up the parent interface; I
think this adequately solves this issue.

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