Author: jim
Date: 2005-03-31 12:00:53 -0700 (Thu, 31 Mar 2005)
New Revision: 4840

Added:
   branches/multi-arch/BOOK/chapter06/sysklogd.xml
   branches/multi-arch/BOOK/chapter07/sysklogd.xml
Modified:
   branches/multi-arch/BOOK/chapter01/changelog.xml
Log:
Fixed: multi-arch sysklogd files

Modified: branches/multi-arch/BOOK/chapter01/changelog.xml
===================================================================
--- branches/multi-arch/BOOK/chapter01/changelog.xml    2005-03-31 18:58:40 UTC 
(rev 4839)
+++ branches/multi-arch/BOOK/chapter01/changelog.xml    2005-03-31 19:00:53 UTC 
(rev 4840)
@@ -86,6 +86,7 @@
 <listitem><para>Updated: Arch: All - M4 to 1.4.3.</para></listitem>
 <listitem><para>Updated: Arch: All - LFS-Bootscritps to 
3.2.0.</para></listitem>
 <listitem><para>Removed: RaQ2 - 
lfs-bootscripts-3.1.0-raq2-2.patch</para></listitem>
+<listitem><para>Fixed: Arch: All - Sysklogd missing files.</para></listitem>
 </itemizedlist>
 </listitem>
 </itemizedlist>

Added: branches/multi-arch/BOOK/chapter06/sysklogd.xml
===================================================================
--- branches/multi-arch/BOOK/chapter06/sysklogd.xml     2005-03-31 18:58:40 UTC 
(rev 4839)
+++ branches/multi-arch/BOOK/chapter06/sysklogd.xml     2005-03-31 19:00:53 UTC 
(rev 4840)
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!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;
+]>
+<sect1 id="ch-system-sysklogd" xreflabel="Sysklogd" role="wrap">
+<title>Sysklogd-&sysklogd-version;</title>
+<?dbhtml filename="sysklogd.html"?>
+
+<indexterm zone="ch-system-sysklogd"><primary 
sortas="a-Sysklogd">Sysklogd</primary></indexterm>
+
+<sect2 role="package"><title/>
+<para>The Sysklogd package contains programs for logging system messages, such
+as those given by the kernel when unusual things happen.</para>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>0.1 SBU</seg><seg>0.5 MB</seg></seglistitem>
+</segmentedlist>
+
+<segmentedlist>
+<segtitle>&dependencies;</segtitle>
+<!-- <segtitle>Sysklogd installation depends on</segtitle> -->
+<seglistitem><seg>Binutils, Coreutils, GCC, Glibc, Make</seg></seglistitem>
+</segmentedlist>
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of Sysklogd</title>
+
+<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;-fixes-1.patch</userinput></screen>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+<para>Install the package:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+</sect2>
+
+
+<sect2 id="conf-sysklogd" role="configuration"><title>Configuring 
Sysklogd</title>
+<indexterm zone="conf-sysklogd">
+<primary sortas="a-Sysklogd">Sysklogd</primary>
+<secondary>configuring</secondary></indexterm>
+
+<indexterm zone="conf-sysklogd"><primary 
sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary></indexterm>
+
+<para>Create a new <filename>/etc/syslog.conf</filename> file by running the
+following:</para>
+
+<screen><userinput>cat &gt; /etc/syslog.conf &lt;&lt; "EOF"
+# Begin /etc/syslog.conf
+
+auth,authpriv.* -/var/log/auth.log
+*.*;auth,authpriv.none -/var/log/sys.log
+daemon.* -/var/log/daemon.log
+kern.* -/var/log/kern.log
+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>
+
+</sect2>
+
+
+<sect2 id="contents-sysklogd" role="content"><title>Contents of 
Sysklogd</title>
+
+<segmentedlist>
+<segtitle>Installed programs</segtitle>
+<seglistitem><seg>klogd and syslogd</seg></seglistitem>
+</segmentedlist>
+
+<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
+<?dbfo list-presentation="list"?>
+<?dbhtml list-presentation="table"?>
+
+<varlistentry id="klogd">
+<term><command>klogd</command></term>
+<listitem>
+<indexterm zone="ch-system-sysklogd klogd"><primary 
sortas="b-klogd">klogd</primary></indexterm>
+<para>is a system daemon for intercepting and logging kernel messages.</para>
+</listitem>
+</varlistentry>
+
+<varlistentry id="syslogd">
+<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>
+</listitem>
+</varlistentry>
+</variablelist>
+
+</sect2>
+
+</sect1>

Added: branches/multi-arch/BOOK/chapter07/sysklogd.xml
===================================================================
--- branches/multi-arch/BOOK/chapter07/sysklogd.xml     2005-03-31 18:58:40 UTC 
(rev 4839)
+++ branches/multi-arch/BOOK/chapter07/sysklogd.xml     2005-03-31 19:00:53 UTC 
(rev 4840)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!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;
+]>
+<sect1 id="ch-scripts-sysklogd">
+<title>Configuring the sysklogd script</title>
+<?dbhtml filename="sysklogd.html"?>
+
+<indexterm zone="ch-scripts-sysklogd">
+<primary sortas="d-sysklogd">sysklogd</primary>
+<secondary>configuring</secondary></indexterm>
+
+<para>The <filename>sysklogd</filename> script invokes the
+<command>syslogd</command> program with the <parameter>-m 0</parameter> option.
+This option turns off the periodic timestamp mark that
+<command>syslogd</command> writes to the log files every 20 minutes by default.
+If you want to turn on this periodic timestamp mark, edit the
+<filename>sysklogd</filename> script and make the changes accordingly. See
+<userinput>man syslogd</userinput> for more information.</para>
+
+</sect1>

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to