Red Hat Bugzilla – Bug 155497
interfaces aliases with ONBOOT=no are brought up anyway
Last modified: 2014-03-16 22:53:30 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/312.1 (KHTML, like Gecko) Safari/312
Description of problem:
ONBOOT=no is ignored on eth0:x interface aliases. If you have ifcfg-eth0 and ifcfg-eth0:0, where
ifcfg-eth0:0 has ONBOOT=no set, eth0:0 is brought up anyway at boot.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Copy /etc/sysconfig/network-scripts/ifcfg-eth0 to /etc/sysconfig/network-scripts/ifcfg-eth0:0
2. Change the IP address in ifcfg-eth0:0 and set ONBOOT=no
3. Reboot machine
Actual Results: Interface eth0:0 is brought up after boot.
Expected Results: Interface eth0:0 should be down after boot.
Alias interfaces are controlled by ONPARENT, not ONBOOT.
This is documented in sysconfig.txt as of 7.31.11.EL-1 and later.
Oh, I see. Sorry for misunderstanding your previous note. IMHO, it may be help for busy admins to have
ONBOOT also work for interface alias, rather silently ignoring it. Unfortunately I had a service outage
today due to thinking that ONBOOT would work in an alias file. I didn't know to look in /usr/share/doc/
*** Bug 179065 has been marked as a duplicate of this bug. ***