Bug#399930: logrotation race condition with exim writing to logs

Vladislav Kurz vladislav.kurz at webstep.net
Fri Nov 30 10:02:39 UTC 2012

Package: exim4
Version: 4.72-6+squeeze3
Severity: normal


we've got hit by this race condition today. I find it ridiculous that
this bug is not fixed for 6 years, while the fix is trivial. So far only
lame excuses about hypothetical monitoring software that could break
if it cannot find a log file. WTF? Is there such a lame monitoring that
prefers to check the log instead of TCP socket? Or did you mean
something like logcheck? Whatever, running SMTP server is the top
priority. Without that even the monitoring itself is worthless, as it
cannot send any warnings. So please fix this, upload it to unstable,
and we'll see if something else will break.

Vladislav Kurz

-- Package-specific info:
Exim version 4.72 #1 built 25-Oct-2012 18:35:08
Copyright (c) University of Cambridge, 1995 - 2007
Berkeley DB: Berkeley DB 4.8.30: (April  9, 2010)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages DKIM
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
GnuTLS compile-time version: 2.8.6
GnuTLS runtime version: 2.8.6
Configuration file is /var/lib/exim4/config.autogenerated

-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages exim4 depends on:
ii  debconf [debconf-2.0]        Debian configuration management sy
ii  exim4-base               4.72-6+squeeze3 support files for all Exim MTA (v4
ii  exim4-daemon-light       4.72-6+squeeze3 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