WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 1397] New: network-bridge trips up if network has 'metri

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1397] New: network-bridge trips up if network has 'metric' set - causes no xenbr0
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Thu, 18 Dec 2008 00:32:54 -0800
Delivery-date: Thu, 18 Dec 2008 00:33:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1397

           Summary: network-bridge trips up if network has 'metric' set -
                    causes no xenbr0
           Product: Xen
           Version: 3.0.0
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: walshes@xxxxxxxxx


Code to compute 'vifnum' inside network-bridge gets tripped up if your network
address has a metric set - the 'awk' is naive because it looks for the last
field, which will be the metric setting (likely 10, which will cause havoc to
happen).

I suggest this replacement code to compute vifnum...

vifnum=${vifnum:-$(ip route list | egrep '^default' | egrep -o '(eth[0-9]+)' |
sed 's/^[^0-9]*//')}


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 1397] New: network-bridge trips up if network has 'metric' set - causes no xenbr0, bugzilla-daemon <=