source: final-system/common/sysklogd.xml@ 24fc204

Last change on this file since 24fc204 was bf8c11f, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • 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.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-system-sysklogd" xreflabel="Sysklogd" role="wrap">
11 <?dbhtml filename="sysklogd.html"?>
12
13 <title>Sysklogd-&sysklogd-version;</title>
14
15 <indexterm zone="ch-system-sysklogd">
16 <primary sortas="a-Sysklogd">Sysklogd</primary>
17 </indexterm>
18
19 <sect2 role="package">
20 <title/>
21
22 <para>The Sysklogd package contains programs for logging system messages,
23 such as those given by the kernel when unusual things happen.</para>
24
25 <segmentedlist>
26 <segtitle>&buildtime;</segtitle>
27 <segtitle>&diskspace;</segtitle>
28
29 <seglistitem>
30 <seg>Not checked yet</seg>
31 <seg>Not checked yet</seg>
32 </seglistitem>
33 </segmentedlist>
34
35 <segmentedlist>
36 <segtitle>&dependencies;</segtitle>
37
38 <seglistitem>
39 <seg>Binutils, Coreutils, GCC, Glibc, Make</seg>
40 </seglistitem>
41 </segmentedlist>
42
43 </sect2>
44
45 <sect2 role="installation">
46 <title>Installation of Sysklogd</title>
47
48 <para os="a">The following patch fixes various issues, including a
49 problem building Sysklogd with Linux 2.6 series kernels</para>
50
51<screen os="b"><userinput>patch -Np1 -i ../&sysklogd-fixes-patch;</userinput></screen>
52
53 <para os="c">Compile the package:</para>
54
55<screen><userinput>make</userinput></screen>
56
57 <para os="d">Install the package:</para>
58
59<screen os="e"><userinput>make install</userinput></screen>
60
61 </sect2>
62
63 <sect2 id="conf-sysklogd" role="configuration">
64 <title>Configuring Sysklogd</title>
65
66 <indexterm zone="conf-sysklogd">
67 <primary sortas="a-Sysklogd">Sysklogd</primary>
68 <secondary>configuring</secondary></indexterm>
69
70 <indexterm zone="conf-sysklogd">
71 <primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary>
72 </indexterm>
73
74 <para>Create a new <filename>/etc/syslog.conf</filename> file by running
75 the following:</para>
76
77<screen><userinput>cat &gt; /etc/syslog.conf &lt;&lt; "EOF"
78<literal># Begin /etc/syslog.conf
79
80auth,authpriv.* -/var/log/auth.log
81*.*;auth,authpriv.none -/var/log/sys.log
82daemon.* -/var/log/daemon.log
83kern.* -/var/log/kern.log
84mail.* -/var/log/mail.log
85user.* -/var/log/user.log
86*.emerg *
87
88# log the bootscript output:
89local2.* -/var/log/boot.log
90
91# End /etc/syslog.conf</literal>
92EOF</userinput></screen>
93
94 </sect2>
95
96 <sect2 id="contents-sysklogd" role="content">
97 <title>Contents of Sysklogd</title>
98
99 <segmentedlist>
100 <segtitle>Installed programs</segtitle>
101
102 <seglistitem>
103 <seg>klogd and syslogd</seg>
104 </seglistitem>
105 </segmentedlist>
106
107 <variablelist>
108 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
109 <?dbfo list-presentation="list"?>
110 <?dbhtml list-presentation="table"?>
111
112 <varlistentry id="klogd">
113 <term><command>klogd</command></term>
114 <listitem>
115 <para>A system daemon for intercepting and logging kernel
116 messages</para>
117 <indexterm zone="ch-system-sysklogd klogd">
118 <primary sortas="b-klogd">klogd</primary>
119 </indexterm>
120 </listitem>
121 </varlistentry>
122
123 <varlistentry id="syslogd">
124 <term><command>syslogd</command></term>
125 <listitem>
126 <para>Logs the messages that system programs offer for logging.
127 Every logged message contains at least a date stamp and a hostname,
128 and normally the program's name too, but that depends on how
129 trusting the logging daemon is told to be</para>
130 <indexterm zone="ch-system-sysklogd syslogd">
131 <primary sortas="b-syslogd">syslogd</primary>
132 </indexterm>
133 </listitem>
134 </varlistentry>
135
136 </variablelist>
137
138 </sect2>
139
140</sect1>
Note: See TracBrowser for help on using the repository browser.