source: chapter06/sysklogd.xml@ c851a9a

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

PDF fixes in chapter06, last set.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.1/BOOK@4947 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<beginpage/>
75
76</sect2>
77
78<sect2 id="contents-sysklogd" role="content"><title>Contents of Sysklogd</title>
79
80<segmentedlist>
81<segtitle>Installed programs</segtitle>
82<seglistitem><seg>klogd and syslogd</seg></seglistitem>
83</segmentedlist>
84
85<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
86<?dbfo list-presentation="list"?>
87<?dbhtml list-presentation="table"?>
88
89<varlistentry id="klogd">
90<term><command>klogd</command></term>
91<listitem>
92<para>A system daemon for intercepting and logging kernel messages</para>
93<indexterm zone="ch-system-sysklogd klogd"><primary sortas="b-klogd">klogd</primary></indexterm>
94</listitem>
95</varlistentry>
96
97<varlistentry id="syslogd">
98<term><command>syslogd</command></term>
99<listitem>
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<indexterm zone="ch-system-sysklogd syslogd"><primary sortas="b-syslogd">syslogd</primary></indexterm>
105</listitem>
106</varlistentry>
107</variablelist>
108
109</sect2>
110
111</sect1>
Note: See TracBrowser for help on using the repository browser.