cvs commit: LFS/BOOK/chapter06 glibc-inst.xml

gerard at linuxfromscratch.org gerard at linuxfromscratch.org
Thu Jan 2 13:03:15 PST 2003


gerard      03/01/02 16:03:15

  Modified:    BOOK/chapter06 glibc-inst.xml
  Log:
  updated patch explanation
  
  Revision  Changes    Path
  1.76      +18 -8     LFS/BOOK/chapter06/glibc-inst.xml
  
  Index: glibc-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/glibc-inst.xml,v
  retrieving revision 1.75
  retrieving revision 1.76
  diff -u -r1.75 -r1.76
  --- glibc-inst.xml	2 Jan 2003 20:55:58 -0000	1.75
  +++ glibc-inst.xml	2 Jan 2003 21:03:15 -0000	1.76
  @@ -36,14 +36,24 @@
   if you use the numeric IDs (such as <userinput>chown 0
   file</userinput>).</para></listitem>
   
  -<listitem><para>Lastly, the patch also fixes a problem that causes
  -statically linked binaries to crash that were linked against Glibc-2.2
  -libraries. This patch is only needed temporarily because we have static
  -programs in <filename class="directory">/static/bin</filename> that might
  -be linked against an older Glibc version (the one from the host
  -distribution). 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></listitem>
  +<listitem><para>It fixes a 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
  +other things, tell programs where the system's password database is
  +(/etc/password, or NIS, or whatever other scheme has been
  +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>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></listitem>
   </itemizedlist>
   
   <para><screen><userinput>patch -Np1 -i ../glibc-&glibc-patch-version;.patch</userinput></screen></para>
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list