> logrotate stills runs "forever". something is
> very wrong.
This was a known issue solved a while ago. The
problem lies in two sections of
/etc/logrotate.d/syslog beginning with:
/var/log/mail/*
and
/var/log/news/*
These lines rotate all the files in those
directories, including the files that have
already been rotated, which pretty much gets
stuck in an endless loop.
I went through and actually replaced those lines
with a line for each log file that needs to be
rotated:
/var/log/mail/mail.err {
rotate 5
weekly
postrotate
/usr/bin/killall -HUP syslogd
endscript
}
/var/log/mail/mail.warn {
rotate 5
weekly
postrotate
/usr/bin/killall -HUP syslogd
endscript
}
/var/log/mail/mail.info {
rotate 5
weekly
postrotate
/usr/bin/killall -HUP syslogd
endscript
}
/var/log/news/news.crit {
rotate 5
weekly
postrotate
/usr/bin/killall -HUP syslogd
endscript
}
/var/log/news/news.err {
rotate 5
weekly
postrotate
/usr/bin/killall -HUP syslogd
endscript
}
/var/log/news/news.notice {
rotate 5
weekly
postrotate
/usr/bin/killall -HUP syslogd
endscript
}
Don Head [[EMAIL PROTECTED]]
Linux Mentor, LCA, Network+ [1 314 692-1942]
Wave Technologies, Inc. [1 800 826-4640 x1942]
[AIM - Don Wave][ICQ - 18804935][Yahoo - Don_Wave]