Bug 238578

Summary: ifup-aliases cannot deal with onboot ifup-post does not pass boot option
Product: [Fedora] Fedora Reporter: Timothy <tim.fc5>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED DUPLICATE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-05-01 16:47:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Timothy 2007-05-01 16:20:38 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-2)

Description of problem:
Interface aliases ignore the "ONBOOT" option in the interface definition file.

ifup-post needs to be updated from
if [ "$ISALIAS" = no ] ; then
    /etc/sysconfig/network-scripts/ifup-aliases ${DEVICE} ${CONFIG}
fi


to
if [ "$ISALIAS" = no ] ; then
    /etc/sysconfig/network-scripts/ifup-aliases ${DEVICE} ${CONFIG} $2
fi

ifup-aliases needs the following

line 71
BOOTFLAG=$3

line 291
##echo "starting onboot code"
if [ "foo$BOOTFLAG" = "fooboot" ] && [ "${ONBOOT}" = "no" -o "${ONBOOT}" = "NO" ]
then
    setup_this=no
fi


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

How reproducible:
Always


Steps to Reproduce:
1.altered ifcfg-eth0:1
2. to include ONBOOT=no
3.rebooted
tried fresh install with yum update

Actual Results:
interface aliases will always be up no matter what ONBOOT is set to

Expected Results:
interface aliases should be down

Additional info:

Comment 1 Bill Nottingham 2007-05-01 16:47:58 UTC

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