Bug#469404: exim4: incompatible call to killproc lsb init-function

Kevin Mitchell kevmitch at gmail.com
Wed Mar 5 00:44:00 UTC 2008


Package: exim4
Version: 4.69-2
Severity: normal


It appears that the exim4 init script /etc/init.d/exim4 makes two calls to the
killproc fucnction as sourced from /lib/lsb/init-functions when stopping exim for either full stop or restart. These calls however do not provide the signal value to send to the process as is expected by this script. The result that exim4 is not stopped when calling the init script with either stop or restart and the following error message when any of these eroneous lines is executed:

/sbin/start-stop-daemon: signal value must be numeric or name of signal (KILL, INT, ...)
Try `/sbin/start-stop-daemon --help' for more information.

Attatched is a patch to be applied against /etc/init.d/exim4 which adds signal values to the killproc calls. I apologise if this this is not in the correct format for a debian bug patch, but I couldn't find any such specifications online.

The tested version of lsb-base is 3.2-3.

Kevin

-- Package-specific info:
Exim version 4.69 #1 built 30-Jan-2008 18:15:12
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 generate
# exim configuration macros for the configuration file.
#
# 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='homunculus.physics.ubc.ca'
dc_local_interfaces='127.0.0.1'
dc_readhost='homunculus.physics.ubc.ca'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='smtp.phas.ubc.ca::587'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
mailname:homunculus.physics.ubc.ca

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (300, 'testing'), (200, 'stable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23-amd64.005 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) (ignored: LC_ALL set to en_GB)
Shell: /bin/sh linked to /bin/bash

Versions of packages exim4 depends on:
ii  debconf [debconf-2.0]         1.5.19     Debian configuration management sy
ii  exim4-base                    4.69-2     support files for all Exim MTA (v4
ii  exim4-daemon-light            4.69-2     lightweight Exim MTA (v4) daemon

exim4 recommends no packages.

-- debconf information:
  exim4/drec:
-------------- next part --------------
129c129
<     killproc -p "$QRPIDFILE" "$DAEMON"
---
>     killproc -p "$QRPIDFILE" "$DAEMON" 15
133c133
<     killproc -p "$PIDFILE" "$DAEMON"
---
>     killproc -p "$PIDFILE" "$DAEMON" 15


More information about the Pkg-exim4-maintainers mailing list