source: chapter06/sysklogd.xml@ 6ff69d4

6.1 6.1.1
Last change on this file since 6ff69d4 was 6ff69d4, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Ported r4911 from trunk: Tags and text corrections.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.1/BOOK@4912 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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