aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander E. Patrakov <alexander@linuxfromscratch.org>2004-05-11 16:15:41 +0000
committerAlexander E. Patrakov <alexander@linuxfromscratch.org>2004-05-11 16:15:41 +0000
commitdc20ac53fe0d7eed42abe85bcb32d483d3061c2e (patch)
tree3ce624825252c3847bb850d1c6362ee8766be9f4
parent68beab5ecebf0fb46e945471c178b9941c57f49c (diff)
Added a patch to fix race condition in sysklogd
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3546 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter03/patches.xml6
-rw-r--r--chapter06/sysklogd.xml6
2 files changed, 12 insertions, 0 deletions
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index b3bb104d6..9ec9157e8 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -127,6 +127,12 @@ following:</para>
</varlistentry>
<varlistentry>
+<term>Sysklogd Signal Handling Patch - 1 KB:</term> <listitem>
+<para><ulink url="&patches-root;sysklogd-&sysklogd-version;-signal-1.patch"/></para>
+</listitem>
+</varlistentry>
+
+<varlistentry>
<term>Udev Configuration Patch - 6 KB:</term>
<listitem>
<para><ulink url="&patches-root;udev-&udev-version;-config-1.patch"/></para>
diff --git a/chapter06/sysklogd.xml b/chapter06/sysklogd.xml
index 3820bb7f3..409021b75 100644
--- a/chapter06/sysklogd.xml
+++ b/chapter06/sysklogd.xml
@@ -26,6 +26,12 @@ by applying the following patch:</para>
<screen><userinput>patch -Np1 -i ../sysklogd-&sysklogd-version;-kernel-headers-1.patch</userinput></screen>
+<para>There is also a race condition in the signal handling logic, and this
+sometimes confuses the <command>sysklogd</command> initscript.
+Fix this bug by applying another patch:</para>
+
+<screen><userinput>patch -Np1 -i ../sysklogd-&sysklogd-version;-signal-1.patch</userinput></screen>
+
<para>Compile Sysklogd:</para>
<screen><userinput>make</userinput></screen>