From 90d417240fc72c7d7fb996af2f3bf96450b9cb2f Mon Sep 17 00:00:00 2001 From: Jeremy Huntwork Date: Wed, 30 Mar 2005 17:31:03 +0000 Subject: Copied over old sysklogd files in preparation of return to sysklogd over syslog-ng git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4814 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/sysklogd.xml | 111 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 chapter06/sysklogd.xml (limited to 'chapter06') diff --git a/chapter06/sysklogd.xml b/chapter06/sysklogd.xml new file mode 100644 index 000000000..6e659e204 --- /dev/null +++ b/chapter06/sysklogd.xml @@ -0,0 +1,111 @@ + + + %general-entities; +]> + +Sysklogd-&sysklogd-version; + + +Sysklogd + + +<para>The Sysklogd package contains programs for logging system messages, such +as those given by the kernel when unusual things happen.</para> + +<segmentedlist> +<segtitle>&buildtime;</segtitle> +<segtitle>&diskspace;</segtitle> +<seglistitem><seg>0.1 SBU</seg><seg>0.5 MB</seg></seglistitem> +</segmentedlist> + +<segmentedlist> +<segtitle>Sysklogd installation depends on</segtitle> +<seglistitem><seg>Binutils, Coreutils, GCC, Glibc, Make</seg></seglistitem> +</segmentedlist> +</sect2> + +<sect2 role="installation"> +<title>Installation of Sysklogd + +Sysklogd has issues with the Linux 2.6 kernel series - fix these isues +by applying the following patch: + +patch -Np1 -i ../sysklogd-&sysklogd-version;-kernel_headers-1.patch + +There is also a race condition in the signal handling logic, and this +sometimes confuses the sysklogd initscript. +Fix this bug by applying another patch: + +patch -Np1 -i ../sysklogd-&sysklogd-version;-signal-1.patch + +Compile Sysklogd: + +make + +Now install it: + +make install + + + + +Configuring Sysklogd + +Sysklogd +configuring + +/etc/syslog.conf + +Create a new /etc/syslog.conf file by running the +following: + +cat > /etc/syslog.conf << "EOF" +# Begin /etc/syslog.conf + +auth,authpriv.* -/var/log/auth.log +*.*;auth,authpriv.none -/var/log/sys.log +daemon.* -/var/log/daemon.log +kern.* -/var/log/kern.log +mail.* -/var/log/mail.log +user.* -/var/log/user.log +*.emerg * + +# End /etc/syslog.conf +EOF + + + + +Contents of Sysklogd + + +Installed programs +klogd and syslogd + + +Short descriptions + + +klogd + +klogd +is a system daemon for intercepting and logging kernel messages. + + + + +syslogd + +syslogd +logs the messages that system programs +offer for logging. Every logged message contains at least a date stamp and a +hostname, and normally the program's name too, but that depends on how +trusting the logging daemon is told to be. + + + + + + + -- cgit v1.2.3-54-g00ecf