[lfs-book] r9965 - in trunk/BOOK: . chapter01 chapter03 chapter06

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Mon Aug 27 15:31:04 PDT 2012


Author: bdubbs
Date: 2012-08-27 16:31:00 -0600 (Mon, 27 Aug 2012)
New Revision: 9965

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter01/whatsnew.xml
   trunk/BOOK/chapter03/patches.xml
   trunk/BOOK/chapter06/glibc.xml
   trunk/BOOK/patches.ent
Log:
Add patch to fix glibc occasional crash with problem nameservers

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2012-08-27 19:46:29 UTC (rev 9964)
+++ trunk/BOOK/chapter01/changelog.xml	2012-08-27 22:31:00 UTC (rev 9965)
@@ -40,12 +40,14 @@
       <para>2012-08-27</para>
       <itemizedlist>
         <listitem>
+          <para>[bdubbs] - Add patch to fix glibc occasional crash
+          with problem nameservers. Fixes
+          <ulink url="&lfs-ticket-root;3172">#3172</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[bdubbs] - Add instructions to Chapter 5 glibc
           to add rpc headers to the host system if they are missing.</para>
         </listitem>
-        <listitem>
-          <para>[bdubbs] - Apply upstream patches to make.</para>
-        </listitem>
       </itemizedlist>
     </listitem>
 

Modified: trunk/BOOK/chapter01/whatsnew.xml
===================================================================
--- trunk/BOOK/chapter01/whatsnew.xml	2012-08-27 19:46:29 UTC (rev 9964)
+++ trunk/BOOK/chapter01/whatsnew.xml	2012-08-27 22:31:00 UTC (rev 9965)
@@ -236,6 +236,10 @@
     </listitem>
 
     <listitem>
+      <para>&glibc-fix-resolv-patch;</para>
+    </listitem>
+
+    <listitem>
       <para>&kbd-fixes-patch;</para>
     </listitem>
 

Modified: trunk/BOOK/chapter03/patches.xml
===================================================================
--- trunk/BOOK/chapter03/patches.xml	2012-08-27 19:46:29 UTC (rev 9964)
+++ trunk/BOOK/chapter03/patches.xml	2012-08-27 22:31:00 UTC (rev 9965)
@@ -58,6 +58,14 @@
       </listitem>
     </varlistentry>
 
+    <varlistentry>
+      <term>Glibc DNS Resolve Patch - <token>&glibc-fix-resolv-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink url="&patches-root;&glibc-fix-resolv-patch;"/></para>
+        <para>MD5 sum: <literal>&glibc-fix-resolv-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
 <!--
     <varlistentry>
       <term>GRUB Disk Geometry Patch - <token>&grub-geometry-patch-size;</token>:</term>

Modified: trunk/BOOK/chapter06/glibc.xml
===================================================================
--- trunk/BOOK/chapter06/glibc.xml	2012-08-27 19:46:29 UTC (rev 9964)
+++ trunk/BOOK/chapter06/glibc.xml	2012-08-27 22:31:00 UTC (rev 9965)
@@ -103,6 +103,11 @@
 
 <screen><userinput remap="pre">sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in</userinput></screen>
 
+    <para>Now fix a problem that causes some applications to crash when 
+    utilizing problem nameservers:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fix-resolv-patch;</userinput></screen>
+
     <para>The Glibc documentation recommends building Glibc outside of the source
     directory in a dedicated build directory:</para>
 

Modified: trunk/BOOK/patches.ent
===================================================================
--- trunk/BOOK/patches.ent	2012-08-27 19:46:29 UTC (rev 9964)
+++ trunk/BOOK/patches.ent	2012-08-27 22:31:00 UTC (rev 9965)
@@ -34,7 +34,11 @@
 <!ENTITY gcc-startfiles-patch-md5 "799ef1971350d2e3c794f2123f247cc6">
 <!ENTITY gcc-startfiles-patch-size "1.5 KB">
 
+<!ENTITY glibc-fix-resolv-patch "glibc-&glibc-version;-res_query_fix-1.patch">
+<!ENTITY glibc-fix-resolv-patch-md5 "d37659c643b1a2150624120238e5b295">
+<!ENTITY glibc-fix-resolv-patch-size "2.0 KB">
 
+
 <!ENTITY grub-inode-patch "grub-&grub-version;-256byte_inode-1.patch">
 <!ENTITY grub-inode-patch-md5 "2482bef9c1866b4045767a56268ba673">
 <!ENTITY grub-inode-patch-size "4.8 KB">




More information about the lfs-book mailing list