RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 669110 - Bonded interface will not start slave if the MASTER value is in double quotes
Summary: Bonded interface will not start slave if the MASTER value is in double quotes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: initscripts
Version: 6.1
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: initscripts Maintenance Team
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
: 647321 (view as bug list)
Depends On: 651450
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-12 17:21 UTC by Bill Nottingham
Modified: 2018-11-14 11:47 UTC (History)
14 users (show)

Fixed In Version: initscripts-9.03.18-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 651450
Environment:
Last Closed: 2011-05-19 13:51:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0647 0 normal SHIPPED_LIVE initscripts bug fix and enhancement update 2011-05-19 09:37:27 UTC

Description Bill Nottingham 2011-01-12 17:21:30 UTC
+++ This bug was initially created as a clone of Bug #651450 +++

Description of problem:
If a bonded interface is created and the slave interface includes the setting MASTER="bond0" (where bond0 is the bonded interface) the slave will not start.  If the double quotes are removed the slave interface will come up (ie; MASTER=bond0)

Version-Release number of selected component (if applicable):
kernel-2.6.35.6-45.fc14.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Create a bond0 interface in the normal manner. Eg sample config:
/etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE="bond0"
USERCTL="no"
BOOTPROTO="none"
ONBOOT="yes"
NETMASK="255.255.255.0"
IPADDR="172.16.98.12"
GATEWAY="172.16.98.2"

Next enslave an interface for bond0. Eg sample config:
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
HWADDR="00:0C:29:5F:91:BF"
ONBOOT="yes"
BOOTPROTO="none"
USERCTL="no"
MASTER="bond0"
SLAVE="yes"

2. Load the bonding module for the bonded interface. Eg sample config:
/etc/modprobe.d/bonding.conf
alias bond0 bonding
options bond0 miimon=100 primary=eth0 mode=1

3. Reboot or modprobe bonding and restart the network service.  
  
Actual results:
The bonded interface will come up but will not have a slave and therefore is unable to communicate.

Expected results:
The bonded interface should bring up the slave interface and communicate as expected.

Additional info:
Removing the double quotes around the MASTER setting in the slave interface will allow the slave to start normally.  Eg; sample config:
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
HWADDR="00:0C:29:5F:91:BF"
ONBOOT="yes"
BOOTPROTO="none"
USERCTL="no"
MASTER=bond0
SLAVE="yes"

--- Additional comment from gfidente on 2011-01-12 08:03:56 EST ---

Created attachment 473014 [details]
patches the ifup-eth and ifdown-eth scripts to make them parse the MASTER value correctly if in quotes

I'm experiencing the same issue, the error seems to be in the if{up,down}-eth scripts which incorrectly parse the ifcfg-eth* files. I'm attaching a proposed fix, which works for me.

--- Additional comment from gfidente on 2011-01-12 08:06:59 EST ---

this bug affects Red Hat Enterprise Linux 6 too

--- Additional comment from notting on 2011-01-12 12:21:01 EST ---

http://git.fedorahosted.org/git/?p=initscripts.git;a=commitdiff;h=abd88b50196806ef92f3daadd277420190c2d955

Will be in some future F-14 update.

Comment 3 Bill Nottingham 2011-02-11 16:27:58 UTC
*** Bug 647321 has been marked as a duplicate of this bug. ***

Comment 5 errata-xmlrpc 2011-05-19 13:51:55 UTC
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 therefore 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-2011-0647.html


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