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

Last change on this file since 9d8ecde was d5d4d82, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Text and entity updates.

  • Property mode set to 100644
File size: 3.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//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="a">The following patch fixes various issues, including a
29 problem building Sysklogd with Linux 2.6 series kernels:</para>
30
31<screen os="b"><userinput>patch -Np1 -i ../&sysklogd-fixes-patch;</userinput></screen>
32
33 <para os="s1">The following sed prevents chaning the owner of the installed man files and prevents install from trying to strip the installed binaries.</para>
34
35<screen os="s2"><userinput>cp Makefile{,.orig}
36sed -e 's/-o ${MAN_USER} -g ${MAN_GROUP}//' \
37 -e 's/500 -s/500/' Makefile.orig &gt; Makefile</userinput></screen>
38
39 <para os="c">Compile the package:</para>
40
41<screen os="d"><userinput>make CC="${CC}"</userinput></screen>
42
43 <para os="f">Install the package:</para>
44
45<screen os="g"><userinput>make prefix=${CLFS} install</userinput></screen>
46
47 </sect2>
48
49 <sect2 id="conf-sysklogd" role="configuration">
50 <title>Configuring Sysklogd</title>
51
52 <indexterm zone="conf-sysklogd">
53 <primary sortas="a-Sysklogd">Sysklogd</primary>
54 <secondary>configuring</secondary></indexterm>
55
56 <indexterm zone="conf-sysklogd">
57 <primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary>
58 </indexterm>
59
60 <para>Create a new <filename>/etc/syslog.conf</filename> file by running
61 the following:</para>
62
63<screen><userinput>cat &gt; ${CLFS}/etc/syslog.conf &lt;&lt; "EOF"
64<literal># Begin /etc/syslog.conf
65
66auth,authpriv.* -/var/log/auth.log
67*.*;auth,authpriv.none -/var/log/sys.log
68daemon.* -/var/log/daemon.log
69kern.* -/var/log/kern.log
70mail.* -/var/log/mail.log
71user.* -/var/log/user.log
72*.emerg *
73
74# log the bootscript output:
75local2.* -/var/log/boot.log
76
77# End /etc/syslog.conf</literal>
78EOF</userinput></screen>
79
80 </sect2>
81
82 <sect2 id="contents-sysklogd" role="content">
83 <title>Contents of Sysklogd</title>
84
85 <segmentedlist>
86 <segtitle>Installed programs</segtitle>
87
88 <seglistitem>
89 <seg>klogd and syslogd</seg>
90 </seglistitem>
91 </segmentedlist>
92
93 <variablelist>
94 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
95 <?dbfo list-presentation="list"?>
96 <?dbhtml list-presentation="table"?>
97
98 <varlistentry id="klogd">
99 <term><command>klogd</command></term>
100 <listitem>
101 <para>A system daemon for intercepting and logging kernel
102 messages</para>
103 <indexterm zone="ch-system-sysklogd klogd">
104 <primary sortas="b-klogd">klogd</primary>
105 </indexterm>
106 </listitem>
107 </varlistentry>
108
109 <varlistentry id="syslogd">
110 <term><command>syslogd</command></term>
111 <listitem>
112 <para>Logs the messages that system programs offer for logging.
113 Every logged message contains at least a date stamp and a hostname,
114 and normally the program's name too, but that depends on how
115 trusting the logging daemon is told to be.</para>
116 <indexterm zone="ch-system-sysklogd syslogd">
117 <primary sortas="b-syslogd">syslogd</primary>
118 </indexterm>
119 </listitem>
120 </varlistentry>
121
122 </variablelist>
123
124 </sect2>
125
126</sect1>
Note: See TracBrowser for help on using the repository browser.