Bug 125954

Summary: Bug in ifup script brings down bonding slaves
Product: [Fedora] Fedora Reporter: Michael Brown <michael>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: high Docs Contact:
Priority: medium    
Version: 2CC: havill, laroche, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 7.58-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-06-29 04:16:45 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:
Attachments:
Description Flags
ifcfg for bond0
none
ifcfg for eth0 bonding slave. eth1 is analogous none

Description Michael Brown 2004-06-14 14:45:07 UTC
From Bugzilla Helper:
User-Agent: Opera/7.50 (X11; Linux i686; U)  [en]

Description of problem:
This bug is present in RHEL 2.1 and 3.0, RH9, FC1 and FC2.

When using network device bonding, the ifup script sets the link status of the slave 
interfaces to be down. Line 200:
if [ "${SLAVE}" = yes -a "${ISALIAS}" = no -a "${MASTER}" != "" -a \
     -x /sbin/ifenslave ]; then
    RFLAG="" ; [ "${RECEIVEONLY}" = yes ] && RFLAG="-r"

    /sbin/ip link set dev ${DEVICE} down
    echo $"Enslaving ${DEVICE} to ${MASTER}"
    ifenslave ${RFLAG} "${MASTER}" "${DEVICE}"

Changing to:
    /sbin/ip link set dev ${DEVICE} up
makes everything work.

I'm attaching my configs for bond0 and a slave.

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

How reproducible:
Always

Steps to Reproduce:
1. 'ifup bond0' 

Actual Results:  slave interfaces are brought down

Expected Results:  slave interfaces brought up. :)

Additional info:

Comment 1 Michael Brown 2004-06-14 14:46:43 UTC
Created attachment 101108 [details]
ifcfg for bond0

Comment 2 Michael Brown 2004-06-14 14:47:18 UTC
Created attachment 101109 [details]
ifcfg for eth0 bonding slave. eth1 is analogous

Comment 3 Bill Nottingham 2004-06-29 04:16:45 UTC
This is fixed in CVS post-FC2; should be in 7.58-1.

Comment 4 Michael Brown 2004-06-29 14:28:20 UTC
This bug was also present in RHEL 2.1 - can somebody confirm if it's fixed in 3.0?

Comment 5 Bill Nottingham 2004-06-29 18:26:22 UTC
A fix for this should be in update 3 of RHEL 3.