On Tue, Nov 07, 2000 at 02:18:15PM +0100, Thierry SAURA wrote:
>
> I have a problem with lograte and two rules :
> /var/log/mail/* {
> rotate 5
> weekly
> postrotate
> /usr/bin/killall -HUP syslogd
> endscript
> }
>
> /var/log/news/* {
> rotate 5
> weekly
> postrotate
> /usr/bin/killall -HUP syslogd
> endscript
> }
>
> somebody has an idea about where the problem comes from ? bad rules ?
> logrotate bug ?
Bad rules...
This problem has been raised, a long time ago ...
Hopefully, users has now a lot of HD space and it will takes 1 or 2 months
to fill all of this space.
Maybe, an update for 7.2 can be provided ?
> Before discovering the problem, slocate and logrotate need time to process
> (more than 120 000 file in /var/log/news and /var/log/mail) and i loose
> 400 Mo of disk space.
For deleting them, try
for in in *.gz ; do rm -f $i; done
because rm -f *.gz doesn't work, too many arguments.
> Thierry.
--
Thomas Poindessous
EpX asso GNU/Linux de l'Epita
[EMAIL PROTECTED] && http://www.epita.fr/~epx