source: chapter06/sysklogd.xml@ e4bf4c7

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 12.2 12.2-rc1 6.0 6.1 6.1.1 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/loongarch-12.2 xry111/mips64el xry111/multilib xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since e4bf4c7 was c8ba565, checked in by Zack Winkles <winkie@…>, 20 years ago

Committing current BE-LFS to head.

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

  • Property mode set to 100644
File size: 2.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//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">
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<para>The Sysklogd package contains programs for logging system messages, such
13as those given by the kernel when unusual things happen.</para>
14
15<screen>&buildtime; 0.1 SBU
16&diskspace; 0.5 MB</screen>
17
18<para>Sysklogd installation depends on: Binutils, Coreutils, GCC, Glibc, Make.</para>
19
20
21<sect2>
22<title>Installation of Sysklogd</title>
23
24<para>Sysklogd has issues with the Linux 2.6 kernel series - fix these isues
25by applying the following patch:</para>
26
27<screen><userinput>patch -Np1 -i ../sysklogd-&sysklogd-version;-kernel-headers-1.patch</userinput></screen>
28
29<para>Compile Sysklogd:</para>
30
31<screen><userinput>make</userinput></screen>
32
33<para>Now install it:</para>
34
35<screen><userinput>make install</userinput></screen>
36
37</sect2>
38
39
40<sect2 id="conf-sysklogd"><title>Configuring Sysklogd</title>
41<indexterm zone="conf-sysklogd">
42<primary sortas="a-Sysklogd">Sysklogd</primary>
43<secondary>configuring</secondary></indexterm>
44
45<indexterm zone="conf-sysklogd"><primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary></indexterm>
46
47<para>Create a new <filename>/etc/syslog.conf</filename> file by running the
48following:</para>
49
50<screen><userinput>cat &gt; /etc/syslog.conf &lt;&lt; "EOF"</userinput>
51# Begin /etc/syslog.conf
52
53auth,authpriv.* -/var/log/auth.log
54*.*;auth,authpriv.none -/var/log/sys.log
55daemon.* -/var/log/daemon.log
56kern.* -/var/log/kern.log
57mail.* -/var/log/mail.log
58user.* -/var/log/user.log
59*.emerg *
60
61# End /etc/syslog.conf
62<userinput>EOF</userinput></screen>
63
64</sect2>
65
66
67<sect2 id="contents-sysklogd"><title>Contents of Sysklogd</title>
68
69<para><emphasis>Installed programs</emphasis>: klogd and syslogd</para>
70
71</sect2>
72
73
74<sect2><title>Short descriptions</title>
75
76<indexterm zone="ch-system-sysklogd klogd"><primary sortas="b-klogd">klogd</primary></indexterm>
77<para id="klogd"><command>klogd</command> is a system daemon for intercepting and
78logging kernel messages.</para>
79
80<indexterm zone="ch-system-sysklogd syslogd"><primary sortas="b-syslogd">syslogd</primary></indexterm>
81<para id="syslogd"><command>syslogd</command> logs the messages that system programs
82offer for logging. Every logged message contains at least a date stamp and a
83hostname, and normally the program's name too, but that depends on how
84trusting the logging daemon is told to be.</para>
85
86</sect2>
87
88
89
90</sect1>
Note: See TracBrowser for help on using the repository browser.