source: clfs-sysroot/BOOK/final-system/common/sysklogd.xml @ c560935

Last change on this file since c560935 was c560935, checked in by Joe Ciccone <jciccone@…>, 17 years ago

Updated Sysklogd to 1.5.

  • Property mode set to 100644
File size: 3.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4  <!ENTITY % general-entities SYSTEM "../../general.ent">
5  %general-entities;
6]>
7
8<sect1 id="ch-system-sysklogd" xreflabel="Sysklogd" role="wrap">
9  <?dbhtml filename="sysklogd.html"?>
10
11  <title>Sysklogd-&sysklogd-version;</title>
12
13  <indexterm zone="ch-system-sysklogd">
14    <primary sortas="a-Sysklogd">Sysklogd</primary>
15  </indexterm>
16
17  <sect2 role="package">
18    <title/>
19
20    <para>The Sysklogd package contains programs for logging system messages,
21    such as those given by the kernel when unusual things happen.</para>
22
23  </sect2>
24
25  <sect2 role="installation">
26    <title>Installation of Sysklogd</title>
27
28    <para os="s1">The following sed prevents changing the owner of the
29    installed man pages and prevents install from trying to strip the
30    installed binaries:</para>
31
32<screen os="s2"><userinput>cp Makefile{,.orig}
33sed -e 's/-o ${MAN_USER} -g ${MAN_GROUP}//' \
34    -e 's/500 -s/500/' Makefile.orig &gt; Makefile</userinput></screen>
35
36    <para os="c">Compile the package:</para>
37
38<screen os="d"><userinput>make CC="${CC}"</userinput></screen>
39
40    <para os="f">Install the package:</para>
41
42<screen os="g"><userinput>make prefix=${CLFS} install</userinput></screen>
43
44  </sect2>
45
46  <sect2 id="conf-sysklogd" role="configuration">
47    <title>Configuring Sysklogd</title>
48
49    <indexterm zone="conf-sysklogd">
50      <primary sortas="a-Sysklogd">Sysklogd</primary>
51    <secondary>configuring</secondary></indexterm>
52
53    <indexterm zone="conf-sysklogd">
54      <primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary>
55    </indexterm>
56
57    <para>Create a new <filename>${CLFS}/etc/syslog.conf</filename> file by running
58    the following:</para>
59
60<screen><userinput>cat &gt; ${CLFS}/etc/syslog.conf &lt;&lt; "EOF"
61# Begin /etc/syslog.conf
62
63auth,authpriv.*                                 -/var/log/auth.log
64*.*;auth,authpriv.none                          -/var/log/sys.log
65daemon.*                                        -/var/log/daemon.log
66kern.*                                          -/var/log/kern.log
67mail.*                                          -/var/log/mail.log
68user.*                                          -/var/log/user.log
69*.info;mail.none;authpriv.none;cron.none        -/var/log/messages
70*.emerg                                         *
71
72# log the bootscript output:
73local2.*                                        -/var/log/boot.log
74
75# End /etc/syslog.conf
76EOF</userinput></screen>
77
78  </sect2>
79
80  <sect2 id="contents-sysklogd" role="content">
81    <title>Contents of Sysklogd</title>
82
83    <segmentedlist>
84      <segtitle>Installed programs</segtitle>
85
86      <seglistitem>
87        <seg>klogd and syslogd</seg>
88      </seglistitem>
89    </segmentedlist>
90
91    <variablelist>
92      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
93      <?dbfo list-presentation="list"?>
94      <?dbhtml list-presentation="table"?>
95
96      <varlistentry id="klogd">
97        <term><command>klogd</command></term>
98        <listitem>
99          <para>A system daemon for intercepting and logging kernel
100          messages</para>
101          <indexterm zone="ch-system-sysklogd klogd">
102            <primary sortas="b-klogd">klogd</primary>
103          </indexterm>
104        </listitem>
105      </varlistentry>
106
107      <varlistentry id="syslogd">
108        <term><command>syslogd</command></term>
109        <listitem>
110          <para>Logs the messages that system programs offer for logging.
111          Every logged message contains at least a date stamp and a hostname,
112          and normally the program's name too, but that depends on how
113          trusting the logging daemon is told to be.</para>
114          <indexterm zone="ch-system-sysklogd syslogd">
115            <primary sortas="b-syslogd">syslogd</primary>
116          </indexterm>
117        </listitem>
118      </varlistentry>
119
120    </variablelist>
121
122  </sect2>
123
124</sect1>
Note: See TracBrowser for help on using the repository browser.