Bug#270681: exim4-base: cleanup failure on package removal

Andreas Metzler Andreas Metzler <ametzler@downhill.at.eu.org>, 270681@bugs.debian.org
Thu, 9 Sep 2004 08:54:44 +0200


On 2004-09-08 Brian O'Reilly <fade@deepsky.com> wrote:
> Package: exim4-base
> Version: 4.34-4
> Severity: important
[...]

> removing exim4 (and ancillary packages) from the system due to the
> installation of an alternate MTA leaves detritus on the system in
> the form of its log rotation script in /etc/logrotate.d. This causes
> logrotate to exit without running, affecting all other
> packages/systems that depend on logratate to run normally.

/etc/logrotate.d/exim4-base is a dpkg conffile
http://www.at.debian.org/doc/debian-policy/ch-files.html#s10.7.1
and will therefore only be removed if you *purge* the package. And
logrotate should be able to deal with this, exim4 switches on all the
required options[1].

Please show the output of
logrotate -d
and
dpkg -l '*exim4*'
on a broken system.
                cu andreas

[1] missingok, and logrotate cannot be broken by a missing
/var/log/exim4, because we *also* remove this only on purge.
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"