|
@@ -40,25 +40,23 @@ file</userinput>).</para></listitem>
|
|
<para><screen><userinput>patch -Np1 -i ../glibc-&glibc-rootperl-patch-version;-root-perl.patch</userinput></screen></para>
|
|
<para><screen><userinput>patch -Np1 -i ../glibc-&glibc-rootperl-patch-version;-root-perl.patch</userinput></screen></para>
|
|
|
|
|
|
<para>There is a potential problem that causes statically linked binaries
|
|
<para>There is a potential problem that causes statically linked binaries
|
|
-to crash that were linked against Glibc-2.2 libraries. Even though static
|
|
|
|
-binaries have all the necessary parts of Glibc built-in, they still rely
|
|
|
|
-on one external library: Glibc's NSS libraries. These libraries, among
|
|
|
|
|
|
+to crash that were linked against Glibc-2.2 or older libraries. Even though
|
|
|
|
+static binaries have all the necessary parts of Glibc built-in, they still
|
|
|
|
+rely on one external library: Glibc's NSS libraries. These libraries, among
|
|
other things, tell programs where the system's password database is
|
|
other things, tell programs where the system's password database is
|
|
(/etc/password, or NIS, or whatever other scheme has been
|
|
(/etc/password, or NIS, or whatever other scheme has been
|
|
configured).</para>
|
|
configured).</para>
|
|
|
|
|
|
-<para>Glibc has undergone some changes since version
|
|
|
|
-2.2.x and the new NSS code is incompatible with the old one. So when Glibc
|
|
|
|
-is installed, it will install its new NSS libraries and static programs
|
|
|
|
-will load these new NSS libraries and start to abort with
|
|
|
|
-<emphasis>segmentation faults</emphasis>. This patch undoes a few of the
|
|
|
|
-changes to overcome the problem.</para>
|
|
|
|
|
|
+<para>Glibc has undergone some changes since version 2.2.x and the new NSS
|
|
|
|
+code is incompatible with the old one. So when Glibc is installed, it will
|
|
|
|
+install its new NSS libraries and static programs will load these new NSS
|
|
|
|
+libraries and start to abort with <emphasis>segmentation faults</emphasis>.
|
|
|
|
+This patch undoes a few of the changes to overcome the problem.</para>
|
|
|
|
|
|
<para>So, if you started chapter 5 with a host system that uses Glibc-2.2.x
|
|
<para>So, if you started chapter 5 with a host system that uses Glibc-2.2.x
|
|
-you must apply the following patch. We will install Glibc again at the end
|
|
|
|
-of this chapter to remove this patch so you'll have a pristine Glibc as the
|
|
|
|
-developers intended
|
|
|
|
-it.</para>
|
|
|
|
|
|
+or older, you must apply the following patch. We will install Glibc again at
|
|
|
|
+the end of this chapter to remove this patch so you'll have a pristine Glibc
|
|
|
|
+as the developers intended it.</para>
|
|
|
|
|
|
<para><screen><userinput>patch -Np1 -i ../glibc-&glibc-libnss-patch-version;-libnss.patch</userinput></screen></para>
|
|
<para><screen><userinput>patch -Np1 -i ../glibc-&glibc-libnss-patch-version;-libnss.patch</userinput></screen></para>
|
|
|
|
|