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 158946 Details for
Bug 247159
VIP parameters 'monitor_link' not apply
[?]
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]
Path for /usr/share/cluster/ip.sh to disable ethernet check with 'monitor_link=0'
ip.sh.patch (text/plain), 2.19 KB, created by
Jonathan Basse
on 2007-07-11 13:37:03 UTC
(
hide
)
Description:
Path for /usr/share/cluster/ip.sh to disable ethernet check with 'monitor_link=0'
Filename:
MIME Type:
Creator:
Jonathan Basse
Created:
2007-07-11 13:37:03 UTC
Size:
2.19 KB
patch
obsolete
>--- ip.sh.back 2007-07-11 14:32:11.000000000 +0100 >+++ ip.sh 2007-07-11 14:34:39.000000000 +0100 >@@ -608,6 +608,14 @@ > declare dev maskbits > declare addr=$2 > declare addr_exp=$(ipv6_expand $addr) >+ declare monitor_link >+ >+ monitor_link="yes" >+ if [ "${OCF_RESKEY_monitor_link}" = "no" ] || >+ [ "${OCF_RESKEY_monitor_link}" = "0" ]; then >+ monitor_link="no" >+ fi >+ > > while read dev ifaddr_exp maskbits; do > if [ -z "$dev" ]; then >@@ -619,14 +627,16 @@ > if [ $? -ne 0 ]; then > continue > fi >- interface_up $dev >- if [ $? -ne 0 ]; then >- continue >- fi >- network_link_up $dev >- if [ $? -ne 0 ]; then >- continue >- fi >+ if [ "${monitor_link}" = "yes" ]; then >+ interface_up $dev >+ if [ $? -ne 0 ]; then >+ continue >+ fi >+ network_link_up $dev >+ if [ $? -ne 0 ]; then >+ continue >+ fi >+ fi > ocf_log info "Adding IPv6 address $addr to $dev" > fi > if [ "$1" = "del" ]; then >@@ -673,6 +683,13 @@ > { > declare dev ifaddr maskbits > declare addr=$2 >+ declare monitor_link >+ >+ monitor_link="yes" >+ if [ "${OCF_RESKEY_monitor_link}" = "no" ] || >+ [ "${OCF_RESKEY_monitor_link}" = "0" ]; then >+ monitor_link="no" >+ fi > > while read dev ifaddr maskbits; do > if [ -z "$dev" ]; then >@@ -684,13 +701,15 @@ > if [ $? -ne 0 ]; then > continue > fi >- interface_up $dev >- if [ $? -ne 0 ]; then >- continue >- fi >- network_link_up $dev >- if [ $? -ne 0 ]; then >- continue >+ if [ "${monitor_link}" = "yes" ]; then >+ interface_up $dev >+ if [ $? -ne 0 ]; then >+ continue >+ fi >+ network_link_up $dev >+ if [ $? -ne 0 ]; then >+ continue >+ fi > fi > ocf_log info "Adding IPv4 address $addr to $dev" > 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 247159
:
158609
| 158946