sysklogd - syslogd and klogd ChangeLog

HOWTO


# sysklogd 1.4.1
# ==============
# Prerequisites:
# syslog-ng (if you'd rather use it than syslogd)
# fileutils (for the install command)

cd
test -f installed/sysklogd-1.4.1.tar.gz && mv installed/sysklogd-1.4.1.tar.gz .
test ! -f sysklogd-1.4.1.tar.gz &&
wget http://www.ibiblio.org/pub/Linux/system/daemons/sysklogd-1.4.1.tar.gz
cd /usr/local/src
find -type d -maxdepth 1 -name "sysklogd-*" -exec rm -r {} \;
tar xzvf ~/sysklogd-1.4.1.tar.gz
cd sysklogd-1.4.1
chown -R root.root .

# If you want to build both syslogd and klogd:
make

# If you only want to build klogd (because you use syslog-ng instead of
# syslogd, for example):
make klogd

gzip -9 klogd.8
removepkg sysklogd
rm -f /usr/man/man8/klogd.8 /usr/man/man8/klogd.8.gz
install -g bin -m 500 -s klogd /usr/sbin/klogd
install -m 644 klogd.8.gz /usr/man/man8/klogd.8.gz
test -f syslogd && install -g bin -m 500 -s syslogd /usr/sbin/syslogd
cd
mkdir -p -m 0700 installed
rm -f installed/sysklogd-*.tar.*
mv sysklogd-1.4.1.tar.gz installed/

# If you don't have a /etc/rc.d/rc.syslog, you can get a sample
# one here (it'll use syslog-ng instead of syslogd if you have it).
# Set USE_KLOG=0 in the script if you don't use klogd (like if you
# use syslog-ng and it reads /proc/kmsg directly).
cd /etc/rc.d
wget -N http://englanders.cc/pub/linux/misc/rc.syslog
chmod 755 rc.syslog

## Slackware 8.1+ calls rc.syslog out of rc.inet2.  Earlier versions start
## syslogd and klogd directly.  Check rc.M to make sure it would even call
## rc.syslog, if not, comment out what's there (if you want to use rc.syslog)
## and replace it with something like this:
#if [ -x /etc/rc.d/rc.syslog ]; then
#  /etc/rc.d/rc.syslog start
#fi

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2003-07-30 2:33pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]