2010-07-07 10:54:48 +02:00
|
|
|
Since syslog-ng basically supersedes klogd/syslogd daemons, stock Slackware
|
|
|
|
sysklogd package should be removed, and leftovers cleaned up, so here are
|
|
|
|
some things you need to do:
|
|
|
|
|
|
|
|
Remove useless logrotate configuration:
|
|
|
|
|
|
|
|
rm /etc/logrotate.d/syslog
|
|
|
|
|
|
|
|
Make syslog-ng start automatically on boot, without modifications to rc.M:
|
|
|
|
|
|
|
|
cd /etc/rc.d && ln -sf rc.syslog-ng rc.syslog
|
|
|
|
cd /usr/sbin && ln -sf syslog-ng syslogd
|
|
|
|
|
2012-04-03 06:36:25 +02:00
|
|
|
To make transition even easier, I converted syslog.conf from sysklogd
|
|
|
|
package to syslog-ng.conf format. You can find it in /etc/syslog-ng.
|
2010-07-07 10:54:48 +02:00
|
|
|
|
2012-04-03 06:36:25 +02:00
|
|
|
Another thing worth mentioning here is rc.syslog-ng, which is written to
|
2010-07-07 10:54:48 +02:00
|
|
|
also emulate syslogd. On a successful start/stop it will copy/remove
|
2012-04-03 06:36:25 +02:00
|
|
|
syslog-ng.pid to /var/run/syslogd.pid so that rc.inet1 doesn't attempt
|
2010-07-07 10:54:48 +02:00
|
|
|
running rc.syslog for a second time.
|