[Bug 741453] New: sysconfig: regression with ipv6 6to4 tunnels!
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.
https://bugzilla.novell.com/show_bug.cgi?id=741453
https://bugzilla.novell.com/show_bug.cgi?id=741453#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=741453
https://bugzilla.novell.com/show_bug.cgi?id=741453#c1
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=741453
https://bugzilla.novell.com/show_bug.cgi?id=741453#c2
--- Comment #2 from Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=741453
https://bugzilla.novell.com/show_bug.cgi?id=741453#c3
--- Comment #3 from Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=741453
https://bugzilla.novell.com/show_bug.cgi?id=741453#c4
--- Comment #4 from Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=741453
https://bugzilla.novell.com/show_bug.cgi?id=741453#c5
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=741453
https://bugzilla.novell.com/show_bug.cgi?id=741453#c6
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=741453
https://bugzilla.novell.com/show_bug.cgi?id=741453#c7
--- Comment #7 from Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=741453
https://bugzilla.novell.com/show_bug.cgi?id=741453#c14
--- Comment #14 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=741453
https://bugzilla.novell.com/show_bug.cgi?id=741453#c17
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=741453
https://bugzilla.novell.com/show_bug.cgi?id=741453#c18
Marius Tomaschewski
After this is already fixed in Factory and 12.1
It were in Test branch only for 12.1 ... I consider your comment as ACK for 12.1:Update -->> in submit request id 107529 now.
I don't think that we need an update for 11.4 too
OK. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=741453
https://bugzilla.novell.com/show_bug.cgi?id=741453#c19
--- Comment #19 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com