Bug#270681: exim4-base: cleanup failure on package removal
Brian O'Reilly
brian@deepsky.com, 270681@bugs.debian.org
Thu, 9 Sep 2004 09:47:22 -0400
On September 9, 2004 02:54 am, Andreas Metzler wrote:
> 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
unfortunately, I don't have an affected system available to me anymore. At the
time of the error there was no 'ii' output from the 'dpkg -l "*exim4*"'
command I ran. the 'logrotate -d /etc/logrotate.conf' command I ran showed
logrotate dieing at /etc/logrotate.d/exim4 with an error about user
"Debian-exim4" not existing.
Brian