Package: logrotate
Version: 3.7.1-1
Followup-For: Bug #285858

Hi

I manually added an amavisd-new logrotate.d file, but it didn't work
automatically. After some weeks of observing, I decided to turn on verbose
mode for logrotate and it turned out that there was an old exim4 logrotate
file in the directory, but it contained a reference to a user (exim) that
didn't exist anymore, since we're now using postfix.

Logrotate aborted without running any rotates, so this is quite a problem.
After removing the old exim4 file, logrotate worked normally again.

Suggestion: the include of all files in /etc/logrotate.d/ may not be very
reliable, if a single problem in one file can block all others from being
processed. So it would be better to run each logrotate separately, like the
crond does for cron.daily, cron.hourly, etc.

Cheers

Simon

-- Package-specific info:
Contents of /etc/logrotate.d
total 68
-rw-r--r--  1 root root  187 Sep  4 20:32 amavisd-new
-rw-r--r--  1 root root  365 Mar 13  2004 apache
-rw-r--r--  1 root root  240 Aug 16  2004 apache2
-rw-r--r--  1 root root  314 Jun 16  2003 atop
-rw-r--r--  1 root root  384 Dec  9  2003 base-config
-rw-r--r--  1 root root  209 Aug 17 10:08 clamav-daemon
-rw-r--r--  1 root root  215 May 17 02:52 clamav-freshclam
-rw-r--r--  1 root root  111 Jun 12 17:28 dpkg
-rw-r--r--  1 root root  151 Jun 11  2002 iptraf
-rw-r--r--  1 root root  100 Jan 30  2004 kdm
-rw-r--r--  1 root root   79 Jan 30  2002 lvm-common
-rw-r--r--  1 root root 1116 Mar  3  2005 mysql-server
-rw-r--r--  1 root root 1014 Sep 14  2004 pure-ftpd-common
-rw-r--r--  1 root root  330 Mar 23 13:10 samba
-rw-r--r--  1 root root   68 Aug 28  2004 scrollkeeper
-rw-r--r--  1 root root  108 Apr 17  2003 shorewall
-rw-r--r--  1 root root  134 Jan 27  2003 vsftpd


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages logrotate depends on:
ii  anacron                       2.3-11     a cron-like program that doesn't g
ii  base-passwd                   3.5.10     Debian base system master password
ii  cron                          3.0pl1-91  management of regular background p
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libpopt0                      1.7-5      lib for parsing cmdline parameters
ii  libselinux1                   1.24-4     SELinux shared libraries

Versions of packages logrotate recommends:
ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to