clamav-base installation complains about missing Debian-exim userid

Bug #261093 reported by Herbert Thielen
2
Affects Status Importance Assigned to Milestone
exim (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: clamav-base

I started the following apt-get on kubuntu-8.04.1 to install clamav. During configuration of clamav-base, some exim command was started, but obviously exim wasn't configured yet. Maybe some dependency statement needs to be adapted?

# apt-get install clamav spamassassin clamav-docs arj unzoo lha mailx spamc re2c exim4-doc-html exim4-doc-info eximon4 libsys-syslog-perl
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Reading state information... Fertig
Die folgenden zusätzlichen Pakete werden installiert:
  clamav-base clamav-freshclam exim4 exim4-base exim4-config
  exim4-daemon-light libarchive-tar-perl libclamav3 libcompress-raw-zlib-perl
  libcompress-zlib-perl libdigest-hmac-perl libdigest-sha1-perl liberror-perl
  libio-compress-base-perl libio-compress-zlib-perl libio-zlib-perl
  liblockfile1 libmail-spf-perl libnet-dns-perl libnet-ip-perl
  libnetaddr-ip-perl libsocket6-perl libsys-hostname-long-perl libversion-perl
  sharutils
Vorgeschlagene Pakete:
  libmail-spf-query-perl libio-string-perl libdbi-perl libio-socket-ssl-perl
  libmail-dkim-perl libnet-ident-perl pyzor razor
Die folgenden NEUEN Pakete werden installiert:
  arj clamav clamav-base clamav-docs clamav-freshclam exim4 exim4-base
  exim4-config exim4-daemon-light exim4-doc-html exim4-doc-info eximon4 lha
  libarchive-tar-perl libclamav3 libcompress-raw-zlib-perl
  libcompress-zlib-perl libdigest-hmac-perl libdigest-sha1-perl liberror-perl
  libio-compress-base-perl libio-compress-zlib-perl libio-zlib-perl
  liblockfile1 libmail-spf-perl libnet-dns-perl libnet-ip-perl
  libnetaddr-ip-perl libsocket6-perl libsys-hostname-long-perl
  libsys-syslog-perl libversion-perl mailx re2c sharutils spamassassin spamc
  unzoo
0 aktualisiert, 38 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
[...]
Richte arj ein (3.10.22-4) ...
Richte clamav-base ein (0.92.1~dfsg2-1.1ubuntu0.2) ...
Lege Systembenutzer »clamav« (UID 111) an ...
Lege neue Gruppe »clamav« (GID 120) an ...
Lege neuen Benutzer »clamav« (UID 111) mit Gruppe »clamav« an ...
Erstelle Home-Verzeichnis »/var/lib/clamav« nicht.
exim: failed to find uid for user name "Debian-exim"

Richte libclamav3 ein (0.92.1~dfsg2-1.1ubuntu0.2) ...

Richte clamav-freshclam ein (0.92.1~dfsg2-1.1ubuntu0.2) ...
 * Starting ClamAV virus database updater freshclam [ OK ]

Richte clamav ein (0.92.1~dfsg2-1.1ubuntu0.2) ...
Richte sharutils ein (1:4.6.3-1build1) ...

Richte clamav-docs ein (0.92.1~dfsg2-1.1ubuntu0.2) ...
Richte exim4-config ein (4.69-2) ...
Adding system-user for exim (v4)

Richte exim4-base ein (4.69-2) ...

Richte exim4-daemon-light ein (4.69-2) ...
 * Starting MTA [ OK ]

Richte exim4 ein (4.69-2) ...

Richte exim4-doc-html ein (4.67-1) ...

Richte exim4-doc-info ein (4.67-1) ...

Richte eximon4 ein (4.69-2) ...

[...]

Revision history for this message
Scott Kitterman (kitterman) wrote :

Not a clamav bug.

Revision history for this message
Herbert Thielen (thielen) wrote :

clamav-base.postinst executes newaliases if available. As exim was unpacked already at this time, newaliases was found and executed. But exim was not yet configured, therefore user Debian-exim wasn't yet in /etc/passwd, and that's what newaliases complains about.

I'm not sure which packet could handle this correctly. Despite of the error message "exim: failed to find uid ...", there's probably no harm here - maybe it could be a valid solution to just redirect newaliases' error message to /dev/null in clamav-base.postinst?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.