[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-bugs] [Bug 1142] New: Network-bridge script fails to copy the IP address over if ipv6 is enabled



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.