Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 317291 Details for
Bug 463014
[PATCH] Fix for problem with bridged bonding interfaces
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to fix reported problem
ifup-eth-fix-for-bridged-bonding.patch (text/plain), 2.88 KB, created by
Sean E. Millichamp
on 2008-09-20 20:09:07 UTC
(
hide
)
Description:
Patch to fix reported problem
Filename:
MIME Type:
Creator:
Sean E. Millichamp
Created:
2008-09-20 20:09:07 UTC
Size:
2.88 KB
patch
obsolete
>--- ifup-eth.orig 2008-03-03 10:39:57.000000000 -0500 >+++ ifup-eth 2008-09-20 10:50:08.000000000 -0400 >@@ -50,6 +50,45 @@ > fi > fi > >+# Bonding initialization. For DHCP, we need to enslave the devices early, >+# so it can actually get an IP. >+if [ "$ISALIAS" = no ] && is_bonding_device ${DEVICE} ; then >+ >+ /sbin/ip link set dev ${DEVICE} down >+ >+ # add the bits to setup driver parameters here >+ for arg in $BONDING_OPTS ; do >+ key=${arg%%=*}; >+ value=${arg##*=}; >+ if [ "${key}" = "arp_ip_target" ]; then >+ OLDIFS=$IFS; >+ IFS=','; >+ for arp_ip in $value; do >+ echo +$arp_ip > /sys/class/net/${DEVICE}/bonding/$key >+ done >+ IFS=$OLDIFS; >+ else >+ echo $value > /sys/class/net/${DEVICE}/bonding/$key >+ fi >+ done >+ >+ /sbin/ip link set dev ${DEVICE} up >+ [ -n "${LINKDELAY}" ] && /bin/sleep ${LINKDELAY} >+ for device in `LANG=C grep -l "^[[:space:]]*MASTER=${DEVICE}" /etc/sysconfig/network-scripts/ifcfg-*` ; do >+ is_ignored_file "$device" && continue >+ /sbin/ifup ${device##*/} >+ done >+ >+ # add the bits to setup the needed post enslavement parameters >+ for arg in $BONDING_OPTS ; do >+ key=${arg%%=*}; >+ value=${arg##*=}; >+ if [ "${key}" = "primary" ]; then >+ echo $value > /sys/class/net/${DEVICE}/bonding/$key >+ fi >+ done >+fi >+ > if [ "${TYPE}" = "Bridge" ]; then > if [ ! -x /usr/sbin/brctl ]; then > echo $"Bridge support not available: brctl not found" >@@ -115,45 +154,6 @@ > exit 0 > fi > >-# Bonding initialization. For DHCP, we need to enslave the devices early, >-# so it can actually get an IP. >-if [ "$ISALIAS" = no ] && is_bonding_device ${DEVICE} ; then >- >- /sbin/ip link set dev ${DEVICE} down >- >- # add the bits to setup driver parameters here >- for arg in $BONDING_OPTS ; do >- key=${arg%%=*}; >- value=${arg##*=}; >- if [ "${key}" = "arp_ip_target" ]; then >- OLDIFS=$IFS; >- IFS=','; >- for arp_ip in $value; do >- echo +$arp_ip > /sys/class/net/${DEVICE}/bonding/$key >- done >- IFS=$OLDIFS; >- else >- echo $value > /sys/class/net/${DEVICE}/bonding/$key >- fi >- done >- >- /sbin/ip link set dev ${DEVICE} up >- [ -n "${LINKDELAY}" ] && /bin/sleep ${LINKDELAY} >- for device in `LANG=C grep -l "^[[:space:]]*MASTER=${DEVICE}" /etc/sysconfig/network-scripts/ifcfg-*` ; do >- is_ignored_file "$device" && continue >- /sbin/ifup ${device##*/} >- done >- >- # add the bits to setup the needed post enslavement parameters >- for arg in $BONDING_OPTS ; do >- key=${arg%%=*}; >- value=${arg##*=}; >- if [ "${key}" = "primary" ]; then >- echo $value > /sys/class/net/${DEVICE}/bonding/$key >- fi >- done >-fi >- > if [ -n "${MTU}" ]; then > ip link set dev ${DEVICE} mtu ${MTU} > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 463014
:
317291
|
317584