Package: logrotate
Version: 3.7.8-6
Severity: normal
When logrotate mails logfiles and the emails it creates exceed the
limit for the maximum size of email messages (as enforced by the MTA,
for example), the emails will bounce and the logfile is lost because
it has been deleted by logrotate despite mailing it failed.
Logrotate should have a configuration option to limit the size of the
emails it creates and send logfiles in as many parts as needed. It
should have a second option to limit the number of parts to send. If
logrotate would have to send a logfile split into more parts than
allowed, it should send an informative message instead of the logfile
and leave the logfile around.
Alternatively, logrotate could have a configuration option telling it
the maximum size for logfiles to be send by email. Logfiles exceeding
the size limit should be left around, and an informative message
should be mailed instead of the logfile itself. (The already
implemented "size" option could have an effect like that.)
-- Package-specific info:
Contents of /etc/logrotate.d
total 80
-rw-r--r-- 1 root root 173 Sep 18 2010 apt
-rw-r--r-- 1 root root 79 Aug 26 2010 aptitude
-rw-r--r-- 1 root root 209 Oct 10 2010 clamav-daemon
-rw-r--r-- 1 root root 230 Oct 10 2010 clamav-freshclam
-rw-r--r-- 1 root root 135 Feb 25 2010 consolekit
-rw-r--r-- 1 root root 124 Feb 27 12:13 dirmngr
-rw-r--r-- 1 root root 232 Sep 14 2010 dpkg
-rw-r--r-- 1 root root 146 Jun 3 2010 exim4-base
-rw-r--r-- 1 root root 126 Jun 3 2010 exim4-paniclog
-rw-r--r-- 1 root root 195 Dec 14 2009 icecast2
-rw-r--r-- 1 root root 100 Aug 10 2010 kdm
-rw-r--r-- 1 root root 160 Oct 6 2010 libvirtd
-rw-r--r-- 1 root root 274 Jul 16 2010 mumble-server
-rw-r--r-- 1 root root 146 Jun 12 2010 ntop
-rw-r--r-- 1 root root 157 May 28 2010 pm-utils
-rw-r--r-- 1 root root 94 Aug 9 2010 ppp
-rw-r--r-- 1 root root 515 May 30 19:11 rsyslog
-rw-r--r-- 1 root root 108 Sep 3 2010 shorewall
-rw-r--r-- 1 root root 513 Feb 2 19:04 speech-dispatcher
-rw-r--r-- 1 root root 126 Aug 14 2010 vsftpd
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages logrotate depends on:
ii anacron 2.3-14 cron-like program that doesn't go
ii base-passwd 3.5.22 Debian base system master password
ii cron 3.0pl1-118 process scheduling daemon
ii libc6 2.13-10 Embedded GNU C Library: Shared lib
ii libpopt0 1.16-1 lib for parsing cmdline parameters
ii libselinux1 2.0.98-1.1 SELinux runtime shared libraries
Versions of packages logrotate recommends:
ii bsd-mailx [mailx] 8.1.2-0.20100314cvs-1 simple mail user agent
logrotate suggests no packages.
-- Configuration Files:
/etc/logrotate.conf changed:
size 100M
mail root
daily
rotate 20
create
include /etc/logrotate.d
/var/log/wtmp {
missingok
monthly
create 0664 root utmp
rotate 1
}
/var/log/btmp {
missingok
monthly
create 0660 root utmp
rotate 1
}
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]