Bug 163248 - ifenslave adds interfaces to bond regardless of errors encountered during enslave process
ifenslave adds interfaces to bond regardless of errors encountered during ens...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: iputils (Show other bugs)
4.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Radek Vokal
Mike McLean
:
Depends On:
Blocks: 156322 170734
  Show dependency treegraph
 
Reported: 2005-07-14 09:55 EDT by Neil Horman
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version: RHBA-2005-610
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-10-05 11:44:34 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
latest version of ifenslave (29.28 KB, text/plain)
2005-07-14 09:55 EDT, Neil Horman
no flags Details

  None (edit)
Description Neil Horman 2005-07-14 09:55:31 EDT
Description of problem:
The current version of ifenslave adds an interface to a bonded interface
regardless of errors encountered during the enslave process.  In particular,
this behavior can be seen when the bond interface MTU cannot be set on a slave
device.

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

How reproducible:
always

Steps to Reproduce:
1.install 2 nics in a machine
2.set the bond mtu to a value that is unsupported by one of the physical interfaces
3.ifensalve the physical interfaces to the bond.
  
Actual results:
Errors regarding failure to set MTU will be generated, but interface will still
be enslaved (IFF_SLAVE will be set on the interface).


Expected results:
Slave should not be added to bond when errors are encountered.

Additional info:
The latest version of ifenslave is able to unwind changes that it makes so that
it can return the slave interface to its origional state in the event of an error
Comment 1 Neil Horman 2005-07-14 09:55:31 EDT
Created attachment 116753 [details]
latest version of ifenslave
Comment 2 Radek Vokal 2005-07-15 04:59:54 EDT
Which version of ifenslave are they currently using? Cos there's no difference
between to one you've attached and the one we ship in RHEL4. iputils-20020927-18
already include ifenslave 1.1.0. 
Comment 3 Neil Horman 2005-07-15 07:00:20 EDT
They're using the ifenslave version from the U1 package, iputils-20020927-16,
which is what shipped with RHEL4-U1 and is the latest available on RHN.  It uses
ifenslave.c version 1.0.12, not 1.1.0.  Can you confirm that iputils-20020927-18
uses ifenslave 1.1.0 and will be available in U2?  
Comment 4 Radek Vokal 2005-07-15 07:11:33 EDT
Aha, I haven't realized that -18 version didn't make it to RHEL4 base - strange,
cos the split happened with -18 version. There's no update scheduled for iputils
so far, I'm adding this bug on proposed list but I can't promise it will appear
in U2 as it's the only bugfix in this package. 
Comment 10 Red Hat Bugzilla 2005-10-05 11:44:34 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2005-610.html

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