I am new to Trustix coming from RedHat. I send syslog messages from my Cisco
router to the Trustix box via facility Local4 defined in /etc/syslog.conf
like this
# Save router messages to /var/log/router
local4.* /var/log/router
Then to enable syslog to listen on the network after attempting, with no
success to add my args to /etc/sysconfig/sysklogd. I modified
/etc/init.d/syslog like this.
# See how we were called.
case "$1" in
start)
echo -n "Starting system logger: "
daemon syslogd -r -l 192.168.10.254 $SYSLOGDARGS <<<<<<<<<<<
RETVAL=$?
echo
echo -n "Starting kernel logger: "
daemon klogd $KLOGDARGS
echo
[ $RETVAL -eq 0 ] && touch ${INITLOCK:-/mnt/lockdev}/syslog
;;
This all works fine until log rotation. The postrotate script
'/usr/bin/killall -HUP syslogd' makes syslogd stop listening to the network.
Why? If I do 'ps aux' the command line looks like it's correct but it's not
logging at that point. If I do 'service syslog restart' it comes back
together and starts working.
Thanks
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss