aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/sysklogd.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/sysklogd.xml')
-rw-r--r--chapter06/sysklogd.xml36
1 files changed, 18 insertions, 18 deletions
diff --git a/chapter06/sysklogd.xml b/chapter06/sysklogd.xml
index 6e659e204..588209179 100644
--- a/chapter06/sysklogd.xml
+++ b/chapter06/sysklogd.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities;
]>
@@ -20,7 +20,8 @@ as those given by the kernel when unusual things happen.</para>
</segmentedlist>
<segmentedlist>
-<segtitle>Sysklogd installation depends on</segtitle>
+<segtitle>&dependencies;</segtitle>
+<!-- <segtitle>Sysklogd installation depends on</segtitle> -->
<seglistitem><seg>Binutils, Coreutils, GCC, Glibc, Make</seg></seglistitem>
</segmentedlist>
</sect2>
@@ -28,22 +29,16 @@ as those given by the kernel when unusual things happen.</para>
<sect2 role="installation">
<title>Installation of Sysklogd</title>
-<para>Sysklogd has issues with the Linux 2.6 kernel series - fix these isues
-by applying the following patch:</para>
+<para>The following patch fixes various issues, including a problem building
+Sysklogd with Linux 2.6 series kernels</para>
-<screen><userinput>patch -Np1 -i ../sysklogd-&sysklogd-version;-kernel_headers-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../sysklogd-&sysklogd-version;-fixes-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>
+<para>Compile the package:</para>
<screen><userinput>make</userinput></screen>
-<para>Now install it:</para>
+<para>Install the package:</para>
<screen><userinput>make install</userinput></screen>
@@ -71,6 +66,9 @@ mail.* -/var/log/mail.log
user.* -/var/log/user.log
*.emerg *
+# log the bootscript output:
+local2.* -/var/log/boot.log
+
# End /etc/syslog.conf
EOF</userinput></screen>
@@ -84,7 +82,9 @@ EOF</userinput></screen>
<seglistitem><seg>klogd and syslogd</seg></seglistitem>
</segmentedlist>
-<variablelist><title>Short descriptions</title>
+<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
+<?dbfo list-presentation="list"?>
+<?dbhtml list-presentation="table"?>
<varlistentry id="klogd">
<term><command>klogd</command></term>
@@ -98,10 +98,10 @@ EOF</userinput></screen>
<term><command>syslogd</command></term>
<listitem>
<indexterm zone="ch-system-sysklogd syslogd"><primary sortas="b-syslogd">syslogd</primary></indexterm>
-<para>logs the messages that system programs
-offer for logging. Every logged message contains at least a date stamp and a
-hostname, and normally the program's name too, but that depends on how
-trusting the logging daemon is told to be.</para>
+<para>logs the messages that system programs offer for logging. Every logged
+message contains at least a date stamp and a hostname, and normally the
+program's name too, but that depends on how trusting the logging daemon is told
+to be.</para>
</listitem>
</varlistentry>
</variablelist>