Your message dated Thu, 11 Feb 2010 19:07:38 +0100
with message-id <[email protected]>
and subject line Re: Bug#569334: exim4-base: package removal leaves files in 
crontab.d requiring deleted user Debian-exim, break logrotate
has caused the Debian Bug report #569334,
regarding exim4-base: package removal leaves files in crontab.d requiring 
deleted user Debian-exim, break logrotate
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
569334: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=569334
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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)



--- End Message ---
--- Begin Message ---
On 2010-02-11 MAtteo HCE Valsasna <[email protected]> wrote:
> 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


Hello,

I am closing the bug since both suggesstions are already implemented.

*  exim4's maintainer scripts do not remove the Debian-exim user. User
   removal must have happpened by something else. e.g. recently
   somebody else had this problem because he was using a
   schroot-chroot. See http://bugs.debian.org/565613

* Both /etc/logrotate.d/exim4-paniclog and /etc/logrotate.d/exim4-base
  are dpkg conffiles. They are only removed when the package is purged
  instead of uninstalled. (See dpkg --remove vs. --purge or apt-get's
  --purge option.)

cu andreas


--- End Message ---

Reply via email to