Bug#557611: exim4: paniclog logrotation interval should not be size dependent

Oliver Feiler kiza at kcore.de
Mon Nov 23 09:32:23 UTC 2009


Package: exim4
Version: 4.69-9
Severity: minor


Hi,

/etc/logrotate.d/exim4-paniclog rotates at "size 10M". This is not really optimal since 
the file will never reach this size in any sane configuration. If however an error is 
logged due to a configuration problem the admin will get the e-mail pointing to that 
problem every day until one manually empties the paniclog. It's highly unlikely that the 
log really reaches 10MB.

It would be a better idea to have it rotate daily. The admin will get the "paniclog has 
non-zero size" e-mail once and if the problem persists he will receive them on the next 
day(s) again anyway.

Kind regards,

Oliver Feiler


-- Package-specific info:
Exim version 4.69 #1 built 30-Sep-2008 18:54:33
Copyright (c) University of Cambridge 2006
Berkeley DB: Berkeley DB 4.6.21: (September 27, 2007)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /var/lib/exim4/config.autogenerated

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages exim4 depends on:
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  exim4-base                    4.69-9     support files for all Exim MTA (v4
ii  exim4-daemon-light            4.69-9     lightweight Exim MTA (v4) daemon

exim4 recommends no packages.

exim4 suggests no packages.

-- debconf information excluded





More information about the Pkg-exim4-maintainers mailing list