source: chapter06/sysklogd.xml@ dafc31f

Last change on this file since dafc31f was dafc31f, checked in by Jim Gifford <jim@…>, 19 years ago

Fixed: multi-arch sysklogd files

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

  • Property mode set to 100644
File size: 3.4 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.3/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<!-- <segtitle>Sysklogd installation depends on</segtitle> -->
25<seglistitem><seg>Binutils, Coreutils, GCC, Glibc, Make</seg></seglistitem>
26</segmentedlist>
27</sect2>
28
29<sect2 role="installation">
30<title>Installation of Sysklogd</title>
31
32<para>The following patch fixes various issues, including a problem building
33Sysklogd with Linux 2.6 series kernels</para>
34
35<screen><userinput>patch -Np1 -i ../sysklogd-&sysklogd-version;-fixes-1.patch</userinput></screen>
36
37<para>Compile the package:</para>
38
39<screen><userinput>make</userinput></screen>
40
41<para>Install the package:</para>
42
43<screen><userinput>make install</userinput></screen>
44
45</sect2>
46
47
48<sect2 id="conf-sysklogd" role="configuration"><title>Configuring Sysklogd</title>
49<indexterm zone="conf-sysklogd">
50<primary sortas="a-Sysklogd">Sysklogd</primary>
51<secondary>configuring</secondary></indexterm>
52
53<indexterm zone="conf-sysklogd"><primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary></indexterm>
54
55<para>Create a new <filename>/etc/syslog.conf</filename> file by running the
56following:</para>
57
58<screen><userinput>cat &gt; /etc/syslog.conf &lt;&lt; "EOF"
59# Begin /etc/syslog.conf
60
61auth,authpriv.* -/var/log/auth.log
62*.*;auth,authpriv.none -/var/log/sys.log
63daemon.* -/var/log/daemon.log
64kern.* -/var/log/kern.log
65mail.* -/var/log/mail.log
66user.* -/var/log/user.log
67*.emerg *
68
69# log the bootscript output:
70local2.* -/var/log/boot.log
71
72# End /etc/syslog.conf
73EOF</userinput></screen>
74
75</sect2>
76
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<indexterm zone="ch-system-sysklogd klogd"><primary sortas="b-klogd">klogd</primary></indexterm>
93<para>is a system daemon for intercepting and logging kernel messages.</para>
94</listitem>
95</varlistentry>
96
97<varlistentry id="syslogd">
98<term><command>syslogd</command></term>
99<listitem>
100<indexterm zone="ch-system-sysklogd syslogd"><primary sortas="b-syslogd">syslogd</primary></indexterm>
101<para>logs the messages that system programs offer for logging. Every logged
102message contains at least a date stamp and a hostname, and normally the
103program's name too, but that depends on how trusting the logging daemon is told
104to be.</para>
105</listitem>
106</varlistentry>
107</variablelist>
108
109</sect2>
110
111</sect1>
Note: See TracBrowser for help on using the repository browser.