source: chapter06/sysklogd.xml@ 1a017db

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 1a017db was eb6d9eb, checked in by Archaic <archaic@…>, 19 years ago

Updated all chapter 6 build sizes (and chapter7 bootscripts).

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@5917 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.4/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 <!ENTITY % patches-entities SYSTEM "../patches.ent">
5 %general-entities;
6 %patches-entities;
7]>
8<sect1 id="ch-system-sysklogd" xreflabel="Sysklogd" role="wrap">
9<title>Sysklogd-&sysklogd-version;</title>
10<?dbhtml filename="sysklogd.html"?>
11
12<indexterm zone="ch-system-sysklogd"><primary sortas="a-Sysklogd">Sysklogd</primary></indexterm>
13
14<sect2 role="package"><title/>
15<para>The Sysklogd package contains programs for logging system messages, such
16as those given by the kernel when unusual things happen.</para>
17
18<segmentedlist>
19<segtitle>&buildtime;</segtitle>
20<segtitle>&diskspace;</segtitle>
21<seglistitem><seg>0.1 SBU</seg><seg>704 KB</seg></seglistitem>
22</segmentedlist>
23
24<segmentedlist>
25<segtitle>&dependencies;</segtitle>
26<seglistitem><seg>Binutils, Coreutils, GCC, Glibc, Make</seg></seglistitem>
27</segmentedlist>
28</sect2>
29
30<sect2 role="installation">
31<title>Installation of Sysklogd</title>
32
33<para>The following patch fixes various issues, including a problem building
34Sysklogd with Linux 2.6 series kernels</para>
35
36<screen><userinput>patch -Np1 -i ../&sysklogd-fixes-patch;</userinput></screen>
37
38<para>Compile the package:</para>
39
40<screen><userinput>make</userinput></screen>
41
42<para>Install the package:</para>
43
44<screen><userinput>make install</userinput></screen>
45
46</sect2>
47
48
49<sect2 id="conf-sysklogd" role="configuration"><title>Configuring Sysklogd</title>
50<indexterm zone="conf-sysklogd">
51<primary sortas="a-Sysklogd">Sysklogd</primary>
52<secondary>configuring</secondary></indexterm>
53
54<indexterm zone="conf-sysklogd"><primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary></indexterm>
55
56<para>Create a new <filename>/etc/syslog.conf</filename> file by running the
57following:</para>
58
59<screen><userinput>cat &gt; /etc/syslog.conf &lt;&lt; "EOF"
60<literal># Begin /etc/syslog.conf
61
62auth,authpriv.* -/var/log/auth.log
63*.*;auth,authpriv.none -/var/log/sys.log
64daemon.* -/var/log/daemon.log
65kern.* -/var/log/kern.log
66mail.* -/var/log/mail.log
67user.* -/var/log/user.log
68*.emerg *
69
70# log the bootscript output:
71local2.* -/var/log/boot.log
72
73# End /etc/syslog.conf</literal>
74EOF</userinput></screen>
75
76</sect2>
77
78
79<sect2 id="contents-sysklogd" role="content"><title>Contents of Sysklogd</title>
80
81<segmentedlist>
82<segtitle>Installed programs</segtitle>
83<seglistitem><seg>klogd and syslogd</seg></seglistitem>
84</segmentedlist>
85
86<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
87<?dbfo list-presentation="list"?>
88<?dbhtml list-presentation="table"?>
89
90<varlistentry id="klogd">
91<term><command>klogd</command></term>
92<listitem>
93<para>A system daemon for intercepting and logging kernel messages</para>
94<indexterm zone="ch-system-sysklogd klogd"><primary sortas="b-klogd">klogd</primary></indexterm>
95</listitem>
96</varlistentry>
97
98<varlistentry id="syslogd">
99<term><command>syslogd</command></term>
100<listitem>
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<indexterm zone="ch-system-sysklogd syslogd"><primary sortas="b-syslogd">syslogd</primary></indexterm>
106</listitem>
107</varlistentry>
108</variablelist>
109
110</sect2>
111
112</sect1>
Note: See TracBrowser for help on using the repository browser.