source: chapter06/sysklogd.xml@ 55ae959

Last change on this file since 55ae959 was ca17032, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Including patches.ent from general.ent

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

  • Property mode set to 100644
File size: 3.3 KB
RevLine 
[90d4172]1<?xml version="1.0" encoding="ISO-8859-1"?>
[56e814c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[90d4172]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>
[eb6d9eb]19<seglistitem><seg>0.1 SBU</seg><seg>704 KB</seg></seglistitem>
[90d4172]20</segmentedlist>
21
22<segmentedlist>
[7b409b7]23<segtitle>&dependencies;</segtitle>
[90d4172]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
[7b409b7]31<para>The following patch fixes various issues, including a problem building
32Sysklogd with Linux 2.6 series kernels</para>
[90d4172]33
[3e36a78]34<screen><userinput>patch -Np1 -i ../&sysklogd-fixes-patch;</userinput></screen>
[90d4172]35
[7b409b7]36<para>Compile the package:</para>
[90d4172]37
38<screen><userinput>make</userinput></screen>
39
[7b409b7]40<para>Install the package:</para>
[90d4172]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"
[4443e90]58<literal># Begin /etc/syslog.conf
[90d4172]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
[7b409b7]68# log the bootscript output:
69local2.* -/var/log/boot.log
70
[4443e90]71# End /etc/syslog.conf</literal>
[90d4172]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
[7b409b7]84<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
85<?dbfo list-presentation="list"?>
86<?dbhtml list-presentation="table"?>
[90d4172]87
88<varlistentry id="klogd">
89<term><command>klogd</command></term>
90<listitem>
[4443e90]91<para>A system daemon for intercepting and logging kernel messages</para>
[91b852a]92<indexterm zone="ch-system-sysklogd klogd"><primary sortas="b-klogd">klogd</primary></indexterm>
[90d4172]93</listitem>
94</varlistentry>
95
96<varlistentry id="syslogd">
97<term><command>syslogd</command></term>
98<listitem>
[4443e90]99<para>Logs the messages that system programs offer for logging. Every logged
[7b409b7]100message contains at least a date stamp and a hostname, and normally the
101program's name too, but that depends on how trusting the logging daemon is told
[4443e90]102to be</para>
[91b852a]103<indexterm zone="ch-system-sysklogd syslogd"><primary sortas="b-syslogd">syslogd</primary></indexterm>
[90d4172]104</listitem>
105</varlistentry>
106</variablelist>
107
108</sect2>
109
110</sect1>
Note: See TracBrowser for help on using the repository browser.