[Bug 573488] New: Installation adds 127.0.0.2 to /etc/hosts which breaks a lot of network software
http://bugzilla.novell.com/show_bug.cgi?id=573488 http://bugzilla.novell.com/show_bug.cgi?id=573488#c0 Summary: Installation adds 127.0.0.2 to /etc/hosts which breaks a lot of network software Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Critical Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Happy.Cerberus@gmail.com QAContact: jsrain@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; cs-CZ; rv:1.9.2.0) Gecko/20100115 SUSE/3.6.0-1.1 Firefox/3.6 Due to second loopback present, a lot of network software is broken. Main reason is that gethostbyname() returns two IPv4 addresses for the hostname (therefore the software cannot determine a single IP for connection and ends with error). Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573488 http://bugzilla.novell.com/show_bug.cgi?id=573488#c yang xiaoyu <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |locilka@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573488 http://bugzilla.novell.com/show_bug.cgi?id=573488#c Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mzugec@novell.com AssignedTo|locilka@novell.com |kmachalkova@novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573488 http://bugzilla.novell.com/show_bug.cgi?id=573488#c1 Katarina Machalkova <kmachalkova@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FEATURE Partner ID| |fate 308824 --- Comment #1 from Katarina Machalkova <kmachalkova@novell.com> 2010-01-26 11:01:10 UTC ---
Due to second loopback present, a lot of network software is broken.
Of course. See other people complaining about the very same issue: https://bugzilla.novell.com/show_bug.cgi?id=207392 https://bugzilla.novell.com/show_bug.cgi?id=355608 https://bugzilla.novell.com/show_bug.cgi?id=570108 Assigning FQDN to localhost IP is openSUSE product-default. It is a workaround for buggy (desktop) applications: https://bugzilla.novell.com/show_bug.cgi?id=304632 https://bugzilla.novell.com/show_bug.cgi?id=383336 It has been already requested not to append 127.0.0.2 line to hosts at all, see openFATE feature: https://features.opensuse.org/308824 for more technical details. Please vote for it (tell your friends to vote, too), if you want to have anything changed. Unfortunately, the feature becomes effective in openSUSE 11.3 at the soonest (if at all). For openSUSE 11.2 and older, in order not to end up with 127.0.0.2 in hosts please do the following: * Opt out of automatic configuration (uncheck "Use automatic configuration" box in installation mode screen) * In 2nd stage of installation, after reboot in hostname selection screen, opt out of writing hostname to /etc/hosts (uncheck "Write hostname to /etc/hosts")
Main reason is that gethostbyname() returns two IPv4 addresses for the hostname (therefore the software cannot determine a single IP for connection > and ends with error)
Have that software fixed. I can't but close this as a feature, there is hardly any way how to fix this (in the installation or YaST code) in openSUSE 11.2. All in all, there is the above mentioned workaround. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573488 http://bugzilla.novell.com/show_bug.cgi?id=573488#c2 --- Comment #2 from Simon Toth <Happy.Cerberus@gmail.com> 2010-01-26 11:22:57 UTC ---
Main reason is that gethostbyname() returns two IPv4 addresses for the hostname (therefore the software cannot determine a single IP for connection > and ends with error)
Have that software fixed. I can't but close this as a feature, there is hardly any way how to fix this (in the installation or YaST code) in openSUSE 11.2. All in all, there is the above mentioned workaround.
OK, I will just add a little more knowledge. The problem is actually not in the existence of the 127.0.0.2 loopback, but in the fact, that this loopback is bound to the machines hostname (in /etc/hosts). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=573488 fons jongh <fons.dejongh@microfocus.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tstimper@nmedv.de -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com