Bug#284873: no pidfile is written when SMTPLISTENEROPTIONS non-empty

Marc Haber Marc Haber <mh+debian-bugs@zugschlus.de>, 284873@bugs.debian.org
Thu, 09 Dec 2004 10:24:09 +0100


Package: exim4-base
Version: 4.43-1
Severity: normal

Hi,

when SMTPLISTENEROPTIONS is set to a non-empty value, no pid file is
being written, which prevents the Daemon from being stopped.

[2/501]mh@vash:~$ pstree -ap | grep exim4
[3/502]mh@vash:~$ sudo ls -al /var/run/exim4/
total 8
drwxr-x---   2 Debian-exim Debian-exim 4096 Dec  9 10:20 .
drwxr-xr-x  17 root        root        4096 Dec  9 09:52 ..
[4/503]mh@vash:~$ grep SMTPLISTENEROPTIONS /etc/default/exim4
SMTPLISTENEROPTIONS='-oX 465 -oX 25'
[5/504]mh@vash:~$ sudo /etc/init.d/exim4 start
Starting MTA: exim4.
[6/505]mh@vash:~$ pstree -ap | grep exim4
  ??exim4,4831 -bd -q30m -oX 465 -oX 25
[7/506]mh@vash:~$ sudo ls -al /var/run/exim4/
total 8
drwxr-x---   2 Debian-exim Debian-exim 4096 Dec  9 10:20 .
drwxr-xr-x  17 root        root        4096 Dec  9 09:52 ..
[8/507]mh@vash:~$

Greetings
Marc

-- Package-specific info:
Exim version 4.43 #1 built 21-Nov-2004 20:03:17
Copyright (c) University of Cambridge 2004
Berkeley DB: Sleepycat Software: Berkeley DB 3.2.9: (May 26, 2004)
Support for: iconv() IPv6 GnuTLS
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz 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
Configuration file is /var/lib/exim4/config.autogenerated

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-vashy
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages exim4-base depends on:
ii  adduser                     3.59         Add and remove users and groups
ii  cron                        3.0pl1-86    management of regular background p
ii  debconf [debconf-2.0]       1.4.41       Debian configuration management sy
ii  exim4-config [exim4-config- 4.43-1       Debian configuration for exim4
ii  libc6                       2.3.2.ds1-19 GNU C Library: Shared libraries an
ii  libdb3                      3.2.9-20     Berkeley v3 Database Libraries [ru
ii  netbase                     4.19         Basic TCP/IP networking system
ii  passwd                      1:4.0.3-30.4 Change and administer password and

-- debconf information excluded