[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug in cron.daily script re. making unique list of logfiles



Hi there,

the following pertains to Apache-SSL 1.3.9.13-4.

In /etc/cron.daily/apache-ssl you should make sure that after you have compiled 
the list of logfiles in LOGS this list is unique, i.e. that logfiles don't 
appear more than once. Otherwise logfile rotation obviously doesn't work 
properly.

As a quick hack I've changed the cron file as follows:

    LOGS=`echo $LOGS | tr ' ' '\n' | sort | uniq | tr '\n' ' '`

You might want to employ a similar change to fix this problem.

Thanks,

Ralf


-- 
Sign the EU petition against SPAM:          L I N U X       .~.
http://www.politik-digital.de/spam/        The  Choice      /V\
                                            of a  GNU      /( )\
                                           Generation      ^^-^^



-- 
To UNSUBSCRIBE, email to debian-apache-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: