Bug 1082257 - ifup does not update bonding options for pre-existing bonds
Summary: ifup does not update bonding options for pre-existing bonds
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukáš Nykrýn
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-29 21:34 UTC by Antoni Segura Puimedon
Modified: 2014-12-08 00:52 UTC (History)
6 users (show)

Fixed In Version: initscripts-9.47-2.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-04 06:26:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Antoni Segura Puimedon 2014-03-29 21:34:14 UTC
Description of problem:
On line 431 of /etc/sysconfig/network-scripts/network-functions there is a check:
    [ -d "/sys/class/net/$1" ] && return 0
That when a bond already exists, will skip the rest of the method 'install_bonding_driver', which is in charge for setting the BONDING_OPTS.

A typical case is setting BONDING_OPTS for bond0 (which is present from the moment the bonding driver is installed).

Version-Release number of selected component (if applicable):
initscripts-9.47-1.fc19.x86_64


How reproducible: 100%


Steps to Reproduce:
1. modprobe bonding
2. write ifcfg-bond0 with BONDING_OPTS="mode=3 miimon=250" and have some ifcfg for the one or two dummy slaves
3. ifup bond0

Actual results:
    cat /sys/class/net/bond0/bonding/mode
and
    cat /sys/class/net/bond0/bonding/miimon

return 0 and 0


Expected results:
the cats above retun 3 and 250

Additional info:

This bug was fixed in F20.

Comment 1 Fedora Update System 2014-10-07 13:13:41 UTC
initscripts-9.47-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/initscripts-9.47-2.fc19

Comment 2 Fedora Update System 2014-10-08 19:13:55 UTC
Package initscripts-9.47-2.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing initscripts-9.47-2.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-12420/initscripts-9.47-2.fc19
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-12-04 06:26:13 UTC
initscripts-9.47-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


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