https://bugzilla.novell.com/show_bug.cgi?id=741453 https://bugzilla.novell.com/show_bug.cgi?id=741453#c0 Summary: sysconfig: regression with ipv6 6to4 tunnels! Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jnelson-suse@jamponi.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 On or about line 385 of /etc/sysconfig/network/scripts/functions is a function designed to extract the /first/ IPv4 address of a given interface. In my case, I have eth0 which receives it's address via DHCP from my internet provider eth0:1 which is statically configured with an RFC1918 address necessary to communicate with the DSL "modem". Recently, I noticed that my IPv6 tunnel was non-functional. After much debugging, I learned that the following code was extracting the _first_ address from eth0, which randomly happened to be the RFC1918 address assigned to eth0:1 (not eth0). The line in question is: done < <(LC_ALL=POSIX ip -4 address list "$1" 2>/dev/null) Changing the line to this, which follows the same interface-specification that the ifcfg files use, works great: done < <(LC_ALL=POSIX ip -4 address list "$1" label "$1" 2>/dev/null) (Basically, add label "$1" ) Please consider adding this, as otherwise anybody trying to get 'the' address of a given interface (with more than one label) will get a random address from one of the labels. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.