Bug#569334: exim4-base: package removal leaves files in crontab.d requiring deleted user Debian-exim, break logrotate

MAtteo HCE Valsasna mvalsasna at pdxeng.ch
Thu Feb 11 14:18:09 UTC 2010


Package: exim4-base
Version: 4.69-9
Severity: normal


after removing the package (apt-get remove exim4), the logrotate.d files are left (/etc/logrotate.d/exim4-base /etc/logrotate.d/exim4-paniclog), but 
they reference the user Debian-exim, which I suppose was removed by the package remove scripts.

as a result, logrotate is unable to run afterwards

web-pub01:/etc/logrotate.d# logrotate -d /etc/logrotate.conf 
reading config file /etc/logrotate.conf
including /etc/logrotate.d
...
reading config info for /var/log/exim4/mainlog /var/log/exim4/rejectlog 
error: exim4-base:8 unknown user 'Debian-exim'


suggested solution: either do not remove the user or remove the logrotate.d files

Best Regards

MAtteo HCE Valsasna


-- 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/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages exim4-base depends on:
ii  adduser                     3.110        add and remove users and groups
ii  cron                        3.0pl1-105   management of regular background p
ii  debconf [debconf-2.0]       1.5.24       Debian configuration management sy
pn  exim4-config | exim4-config <none>       (no description available)
ii  libc6                       2.7-18lenny2 GNU C Library: Shared libraries
ii  libdb4.6                    4.6.21-11    Berkeley v4.6 Database Libraries [
ii  lsb-base                    3.2-20       Linux Standard Base 3.2 init scrip
ii  netbase                     4.34         Basic TCP/IP networking system

Versions of packages exim4-base recommends:
ii  bsd-mailx [mailx]  8.1.2-0.20071201cvs-3 A simple mail user agent
ii  perl-modules       5.10.0-19lenny2       Core Perl modules
ii  psmisc             22.6-1                Utilities that use the proc filesy

Versions of packages exim4-base suggests:
ii  bsd-mailx [mail-re 8.1.2-0.20071201cvs-3 A simple mail user agent
pn  exim4-doc-html | e <none>                (no description available)
pn  eximon4            <none>                (no description available)
ii  file               4.26-1                Determines file type using "magic"
pn  libmail-spf-query- <none>                (no description available)
ii  mutt [mail-reader] 1.5.18-6              text-based mailreader supporting M
ii  openssl            0.9.8g-15+lenny6      Secure Socket Layer (SSL) binary a
pn  swaks              <none>                (no description available)





More information about the Pkg-exim4-maintainers mailing list