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 1142] New: Network-bridge script fails to copy the IP ad

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1142] New: Network-bridge script fails to copy the IP address over if ipv6 is enabled
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Wed, 16 Jan 2008 12:42:43 -0800
Delivery-date: Wed, 16 Jan 2008 12:42:56 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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=1142

           Summary: Network-bridge script fails to copy the IP address over
                    if ipv6 is enabled
           Product: Xen
           Version: unspecified
          Platform: x86
               URL: http://forums.gentoo.org/viewtopic-p-
                    4736984.html#4736984
        OS/Version: Linux-2.6
            Status: NEW
          Severity: major
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: shadow@xxxxxxxxxxxxx


This is all on gentoo, 2.6.20 kernel + xen 3.1.2 ebuild

This seems to be due to a bug in the network-bridge script on line 72:
addr_pfx=`ip addr show dev eth0 | sed -n 's/^ *inet \(.*\) [^ ]*$/\1/p'`

On another box it returns: 192.168.0.50/24
On my box it returns: 192.168.1.21/24 brd 192.168.1.255 scope link inet6
fe80::2e0:81ff:fe28:4bd9/64 scope link

This causes line 83: ip addr add ${addr_pfx} dev $1
to fail with:
either local is duplicate or inet6 is a garbage

I've disabled ipv6 as a workaround since I don't need it and so far everything
seems to be running properly.


-- 
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 1142] New: Network-bridge script fails to copy the IP address over if ipv6 is enabled, bugzilla-daemon <=