%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.