Bug 125954 - Bug in ifup script brings down bonding slaves
Summary: Bug in ifup script brings down bonding slaves
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 2
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-06-14 14:45 UTC by Michael Brown
Modified: 2014-03-17 02:46 UTC (History)
3 users (show)

Fixed In Version: 7.58-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-06-29 04:16:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
ifcfg for bond0 (161 bytes, text/plain)
2004-06-14 14:46 UTC, Michael Brown
no flags Details
ifcfg for eth0 bonding slave. eth1 is analogous (86 bytes, text/plain)
2004-06-14 14:47 UTC, Michael Brown
no flags Details

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.


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