aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2012-08-27 22:31:00 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2012-08-27 22:31:00 +0000
commit8d2a1f4c95a7eb46479f90048ab17859e568c6f7 (patch)
treeae3a24aa20bf799f1d989dedc946f14e7d9c364a
parent4a5a10855a0c2bd64d00d3bf028e675429e6d293 (diff)
Add patch to fix glibc occasional crash with problem nameservers
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9965 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml8
-rw-r--r--chapter01/whatsnew.xml4
-rw-r--r--chapter03/patches.xml8
-rw-r--r--chapter06/glibc.xml5
-rw-r--r--patches.ent4
5 files changed, 26 insertions, 3 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index e8792729b..3a81a1e63 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -40,11 +40,13 @@
<para>2012-08-27</para>
<itemizedlist>
<listitem>
- <para>[bdubbs] - Add instructions to Chapter 5 glibc
- to add rpc headers to the host system if they are missing.</para>
+ <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] - Apply upstream patches to make.</para>
+ <para>[bdubbs] - Add instructions to Chapter 5 glibc
+ to add rpc headers to the host system if they are missing.</para>
</listitem>
</itemizedlist>
</listitem>
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index a4fa2ecd1..70b28da9d 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -236,6 +236,10 @@
</listitem>
<listitem>
+ <para>&glibc-fix-resolv-patch;</para>
+ </listitem>
+
+ <listitem>
<para>&kbd-fixes-patch;</para>
</listitem>
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index 2b23625d6..4f60e88b5 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -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>
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 6f2310591..4408d59db 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -103,6 +103,11 @@ unset DL</userinput></screen>-->
<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>
diff --git a/patches.ent b/patches.ent
index f962f2904..759dea37a 100644
--- a/patches.ent
+++ b/patches.ent
@@ -34,6 +34,10 @@
<!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">