Hello community,

here is the log from the commit of package glibc for openSUSE:Factory
checked in at Mon Jul 25 12:28:31 CEST 2011.



--------
--- glibc/glibc.changes 2011-07-20 17:05:25.000000000 +0200
+++ /mounts/work_src_done/STABLE/glibc/glibc.changes    2011-07-21 
15:06:24.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Jul 21 12:37:09 UTC 2011 - [email protected]
+
+- Disable rewriting ::1 to 127.0.0.1 for /etc/hosts entries.
+  (bnc#684534, bnc#706719)
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  minmem

New:
----
  glibc-fix-double-loopback.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ glibc.spec ++++++
--- /var/tmp/diff_new_pack.QDFLAJ/_old  2011-07-25 12:23:16.000000000 +0200
+++ /var/tmp/diff_new_pack.QDFLAJ/_new  2011-07-25 12:23:16.000000000 +0200
@@ -78,7 +78,7 @@
 Obsoletes:      glibc-32bit
 %endif
 Version:        2.13
-Release:        27
+Release:        29
 Url:            http://www.gnu.org/software/libc/libc.html
 Source:         glibc-%{version}-996cf2ef0727.tar.bz2
 Source2:        http://ftp.gnu.org/gnu/glibc/glibc-ports-2.13.tar.bz2
@@ -208,6 +208,8 @@
 Patch63:        glibc-2.13-localedef.patch
 # PATCH-FIX-UPSTREAM Fix futex bug bso#12403 [email protected]
 Patch64:        glibc-fix-rwlock-stack-imbalance.patch
+# PATCH-FIX-OPENSUSE disable rewriting ::1 to 127.0.0.1 for /etc/hosts 
bnc#684534, bnc#706719
+Patch65:        glibc-fix-double-loopback.diff
 #
 # PATCH-FEATURE-OPENSUSE -- add sha support to crypt_blowfish [email protected]
 Patch80:        crypt_blowfish-1.1-sha.diff
@@ -445,6 +447,7 @@
 %patch62 -p1
 %patch63 -p1
 %patch64 -p1
+%patch65 -p1
 
 #
 # Inconsistency detected by ld.so: dl-close.c: 719: _dl_close: Assertion 
`map->l_init_called' failed!


++++++ glibc-fix-double-loopback.diff ++++++
This fixes the problem of getent ahosts localhost returning 127.0.0.1
_twice_ on systems that have no ipv6 interfaces up (hence are regarded
as ipv4 only by the lookup code), but still have localhost entries for
::1 and 127.0.0.1 in /etc/hosts (like most current systems).

Remapping ::1 to 127.0.0.1 is bogus when /etc/hosts is correct.
bnc #684534, #606980
http://sources.redhat.com/bugzilla/show_bug.cgi?id=4980

Index: glibc-2.11.3/nss/nss_files/files-hosts.c
===================================================================
--- glibc-2.11.3.orig/nss/nss_files/files-hosts.c       2011-05-27 
15:08:23.000000000 +0200
+++ glibc-2.11.3/nss/nss_files/files-hosts.c    2011-07-20 17:15:26.000000000 
+0200
@@ -69,11 +69,6 @@ LINE_PARSER
         {
           if (IN6_IS_ADDR_V4MAPPED (entdata->host_addr))
             memcpy (entdata->host_addr, entdata->host_addr + 12, INADDRSZ);
-          else if (IN6_IS_ADDR_LOOPBACK (entdata->host_addr))
-            {
-              in_addr_t localhost = htonl (INADDR_LOOPBACK);
-              memcpy (entdata->host_addr, &localhost, sizeof (localhost));
-            }
           else
             /* Illegal address: ignore line.  */
             return 0;

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to