Bug#501892: /etc/cron.daily/exim4-base exits with return code 123

Olivier Berger oberger at ouvaton.org
Sat Oct 11 10:10:21 UTC 2008


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


I get this mailed by cron :
run-parts: /etc/cron.daily/exim4-base exited with return code 123

By issueing :
EX4DEBUG=true /etc/cron.daily/exim4-base

I was able to track it down to the last lines invoking exim_tidydb.

I added some debugging and saw this :

+ find /var/spool/exim4/db -maxdepth 1 -name '*.lockfile' -or -type f
-printf '%f\0'
+ xargs -0r -n 1 start-stop-daemon --start --exec /usr/sbin/exim_tidydb
--chuid Debian-exim:Debian-exim -- /var/spool/exim4
+ find /var/spool/exim4/db -maxdepth 1 -name '*.lockfile' -or -type f
-printf '%f\0'
+ su - --shell /bin/bash --command 'xargs -0r -n 1 echo
/usr/sbin/exim_tidydb /var/spool/exim4' Debian-exim
/usr/sbin/exim_tidydb /var/spool/exim4 log.0000000001
/usr/sbin/exim_tidydb /var/spool/exim4 retry
/usr/sbin/exim_tidydb /var/spool/exim4 wait-remote_smtp_smarthost
+ find /var/spool/exim4/db -maxdepth 1 -name '*.lockfile' -or -type f
-printf '%f\0'
+ su - --shell /bin/bash --command 'xargs -0r -n 1 /usr/sbin/exim_tidydb
/var/spool/exim4' Debian-exim
Usage: exim_tidydb [-t <time>]  <spool-directory> <database-name>
  <database-name> = retry | misc | wait-<transport-name> | callout |
  ratelimit
Tidying Exim hints database /var/spool/exim4/db/retry
Tidying complete
Tidying Exim hints database
/var/spool/exim4/db/wait-remote_smtp_smarthost
Tidying complete

So I suppose there's something wrong with the find here.

Hope this helps,

Best regards,

-- Package-specific info:
Exim version 4.69 #1 built 30-Sep-2008 18:26:35
Copyright (c) University of Cambridge 2006
Berkeley DB: Berkeley DB 4.6.21: (September 27, 2007)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /var/lib/exim4/config.autogenerated
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'
#
# Please note that this is _not_ a dpkg-conffile and that automatic changes
# to this file might happen. The code handling this will honor your local
# changes, so this is usually fine, but will break local schemes that mess
# around with multiple versions of the file.
#
# update-exim4.conf uses this file to determine variable values to replace
# the DEBCONFsomethingDEBCONF strings in the configuration template files.
#
# Most settings found in here do have corresponding questions in the
# Debconf configuration, but not all of them.
#
# This is a Debian specific file

dc_eximconfig_configtype='smarthost'
dc_other_hostnames='rms'
dc_local_interfaces='127.0.0.1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='smtp.free.fr'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='false'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
mailname:olivierberger.com

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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.22     Debian configuration management sy
ii  exim4-config [exim4-config-2] 4.69-9     configuration for the Exim MTA (v4
ii  libc6                         2.7-13     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-15             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
ii  emacs [mail-reader 22.2+2-3              The GNU Emacs editor (metapackage)
ii  emacs22-gtk [mail- 22.2+2-3              The GNU Emacs editor (with GTK use
ii  evolution [mail-re 2.22.3.1-1            groupware suite with mail client a
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"
ii  iceape-mailnews [m 1.1.11-1              Iceape Mail & Newsgroups and Addre
ii  icedove [mail-read 2.0.0.16-1            free/unbranded thunderbird mail/ne
pn  libmail-spf-query- <none>                (no description available)
ii  mailutils-mh [mail 1:1.2+dfsg1-4         GNU mailutils-based MH utilities
ii  mutt [mail-reader] 1.5.18-4              text-based mailreader supporting M
ii  openssl            0.9.8g-13             Secure Socket Layer (SSL) binary a
pn  swaks              <none>                (no description available)
ii  vm [mail-reader]   8.0.9-4               A mail user agent for Emacs.

-- debconf information:
  exim4/purge_spool: false
  exim4-base/drec:
  exim4/move_exim3_spool: false





More information about the Pkg-exim4-maintainers mailing list