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 308341 Details for
Bug 449950
can't create bridge with bonded interface attached
[?]
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 for /etc/sysconfif/network-scripts/ifup-eth
bond_before_bridge.patch (text/plain), 2.03 KB, created by
David Juran
on 2008-06-04 13:31:39 UTC
(
hide
)
Description:
patch for /etc/sysconfif/network-scripts/ifup-eth
Filename:
MIME Type:
Creator:
David Juran
Created:
2008-06-04 13:31:39 UTC
Size:
2.03 KB
patch
obsolete
>--- ifup-eth.bak 2008-06-04 15:14:41.000000000 +0300 >+++ ifup-eth 2008-06-04 15:55:56.000000000 +0300 >@@ -88,23 +88,6 @@ > # is the device wireless? If so, configure wireless device specifics > is_wireless_device ${DEVICE} && . ./ifup-wireless > >-if [ -n "${BRIDGE}" -a -x /usr/sbin/brctl ]; then >- if ! LC_ALL=C /usr/sbin/brctl show | LC_ALL=C grep -q "^${BRIDGE} "; then >- /usr/sbin/brctl addbr ${BRIDGE} 2>/dev/null >- fi >- /sbin/ip addr flush dev ${DEVICE} 2>/dev/null >- /sbin/ip link set dev ${DEVICE} up >- if [ -n "$ETHTOOL_OPTS" ] ; then >- /sbin/ethtool -s ${REALDEVICE} $ETHTOOL_OPTS >- fi >- [ -n "${LINKDELAY}" ] && /bin/sleep ${LINKDELAY} >- /usr/sbin/brctl addif ${BRIDGE} ${DEVICE} >- # Upon adding a device to a bridge, >- # it's necessary to make radvd reload its config >- [ -r /var/run/radvd/radvd.pid ] && kill -HUP `cat /var/run/radvd/radvd.pid` >- exit 0 >-fi >- > # this isn't the same as the MAC in the configuration filename. It is > # available as a configuration option in the config file, forcing the kernel > # to think an ethernet card has a different MAC address than it really has. >@@ -167,6 +150,25 @@ > done > fi > >+if [ -n "${BRIDGE}" -a -x /usr/sbin/brctl ]; then >+ set -x >+ if ! LC_ALL=C /usr/sbin/brctl show | LC_ALL=C grep -q "^${BRIDGE} "; then >+ /usr/sbin/brctl addbr ${BRIDGE} 2>/dev/null >+ fi >+ /sbin/ip addr flush dev ${DEVICE} 2>/dev/null >+ /sbin/ip link set dev ${DEVICE} up >+ if [ -n "$ETHTOOL_OPTS" ] ; then >+ /sbin/ethtool -s ${REALDEVICE} $ETHTOOL_OPTS >+ fi >+ [ -n "${LINKDELAY}" ] && /bin/sleep ${LINKDELAY} >+ /usr/sbin/brctl addif ${BRIDGE} ${DEVICE} >+ # Upon adding a device to a bridge, >+ # it's necessary to make radvd reload its config >+ [ -r /var/run/radvd/radvd.pid ] && kill -HUP `cat /var/run/radvd/radvd.pid` >+ set +x >+ exit 0 >+fi >+ > > if [ -n "${DYNCONFIG}" -a -x /sbin/dhclient ]; then > # Remove any temporary references which were previously added to dhclient config
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 449950
: 308341