Sfoglia il codice sorgente

Added sysvinit-2.85-proclen-1.patch to the book

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3774 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Alexander E. Patrakov 21 anni fa
parent
commit
456a1d928d
5 ha cambiato i file con 16 aggiunte e 4 eliminazioni
  1. 0 2
      TODO
  2. 4 0
      chapter01/changelog.xml
  3. 6 0
      chapter03/patches.xml
  4. 4 0
      chapter06/sysvinit.xml
  5. 2 2
      general.ent

+ 0 - 2
TODO

@@ -7,6 +7,4 @@
    We need to be sure this doens't break the pureness though.
  - Check for pureness and fix any occurrences of breakage.
  - Add more index terms to hotplug page.
- - Include the proclen patch for sysvinit, since it's really small, fixes a very
-   noticable bug, and is all just around just play fun to look at.
  - Convert some patches to seds (only sane ones, though).

+ 4 - 0
chapter01/changelog.xml

@@ -75,6 +75,7 @@ first a summary, then a detailed log.</para>
 <listitem><para>readline-4.3-gnu_fixes-1.patch</para></listitem>
 <listitem><para>sysklogd-1.4.1-kernel_headers-1.patch</para></listitem>
 <listitem><para>sysklogd-1.4.1-signal-1.patch</para></listitem>
+<listitem><para>sysvinit-2.85-proclen-1.patch</para></listitem>
 <listitem><para>udev-026</para></listitem>
 <listitem><para>udev-026-config-1.patch</para></listitem>
 <listitem><para>util-linux-2.12a-kernel_headers-1.patch</para></listitem>
@@ -105,6 +106,9 @@ first a summary, then a detailed log.</para>
 </itemizedlist>
 </listitem>
 
+<listitem><para>June 11, 2004 [alexander]: Added sysvinit-2.85-proclen-1.patch
+</para></listitem>
+
 <listitem><para>June 10, 2004 [alexander]: Reverted the bogus change of package
 order. Removed the "background" line from /etc/vimrc because it matches the
 default on Linux console</para></listitem>

+ 6 - 0
chapter03/patches.xml

@@ -146,6 +146,12 @@ following:</para>
 </listitem>
 </varlistentry>
 
+<varlistentry>
+<term>Sysvinit /proc Title Length Patch - 1 KB:</term> <listitem>
+<para><ulink url="&patches-root;sysvinit-&sysvinit-version;-proclen-1.patch"/></para>
+</listitem>
+</varlistentry>
+
 <varlistentry>
 <term>Udev Configuration Patch - 6 KB:</term>
 <listitem>

+ 4 - 0
chapter06/sysvinit.xml

@@ -28,6 +28,10 @@ running, and shutdown of your system.</para>
 <sect2 role="installation">
 <title>Installation of Sysvinit</title>
 
+<para>Sysvinit &sysvinit-version; contains a "buffer overflow" bug.
+Under some conditions, it clobbers the
+values of environment variables. Fix that:</para>
+<screen><userinput>patch -Np1 -i ../sysvinit-&sysvinit-version;-proclen-1.patch</userinput></screen>
 <para>When run-levels are changed (for example, when halting the system),
 <command>init</command> sends termination signals to those processes that
 <command>init</command> itself started and that shouldn't be running in the new

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "CVS-20040610">
-<!ENTITY releasedate "June 10, 2004">
+<!ENTITY version "CVS-20040611">
+<!ENTITY releasedate "June 11, 2004">
 <!ENTITY milestone "6.0">
 
 <!ENTITY lfs-root "http://www.linuxfromscratch.org/">