Package: sysklogd
Version: 1.4.1-18
/etc/cron.daily/sysklogd rotates /var/log/mail.log and /var/log/mail.info every
thursday even though manually running syslogd-listfiles only shows
/var/log/syslog (as expected).
Before rebooting the server this strange behaviour happened every friday.
Output of cron on thursday:
/etc/cron.daily/sysklogd:
+ cd /var/log
++ syslogd-listfiles
+ for LOG in '`syslogd-listfiles`'
+ '[' -s /var/log/syslog ']'
+ savelog -g adm -m 640 -u root -c 7 /var/log/syslog
+ for LOG in '`syslogd-listfiles`'
+ '[' -s /var/log/mail.log ']'
+ savelog -g adm -m 640 -u root -c 7 /var/log/mail.log
+ for LOG in '`syslogd-listfiles`'
+ '[' -s /var/log/mail.info ']'
+ savelog -g adm -m 640 -u root -c 7 /var/log/mail.info
++ syslogd-listfiles --auth
+ for LOG in '`syslogd-listfiles --auth`'
+ '[' -f /var/log/auth.log ']'
+ chown root:adm /var/log/auth.log
+ chmod o-rwx /var/log/auth.log
+ /etc/init.d/sysklogd reload-or-restart
/etc/cron.weekly/sysklogd rotates these files every sunday as expected.
---------------------------------
Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings,
and more!