Bug#482159: exim4-base: Install fails - init script fails "malformed or incomplete option"

Mike Young debian at elyoung.com
Wed May 21 06:43:48 UTC 2008


Package: exim4-base
Version: 4.69-5+b1
Severity: serious
Justification: 6


Updating exim4 fails because the exim init script refuses to start the daemon.
>From the changelog, I'm guessing this might be related to the quoting problems 
encountered in a few recent bugs (476987 is one). This release is suppossed to 
be fixed, so maybe this is an overlooked part?

I have SMTPLISTENEROPTIONS set so that I can listen on port 465 in addition to 
25.. i.e.
SMTPLISTENEROPTIONS='-oX 465:25 -oP /var/run/exim4/exim.pid'

This matches the recommendation supplied in the exim and Debian package doc.

What happens is that the single quotes seem to be showing up on the actual 
command line. Here is a debug excerpt:
+ '[' /var/run/exim4/exim.pid ']'
+ /sbin/start-stop-daemon --start --nicelevel 0 --quiet --exec /usr/sbin/exim4 
--oknodo --pidfile /var/run/exim4/exim.pid -- -bd -q30m '-oX 465:25 -oP 
/var/run/exim4/exim.pid'
exim abandoned: unknown, malformed, or incomplete option -oX 465:25 -oP 
/var/run/exim4/exim.pid


Notice that the full SMTPLISTENEROPTIONS string is still quoted when passed to 
start-stop-daemon... exim then barfs. (but notice also the quotes only show up 
in the debug output... it took a minute to figure out that exim was treating the 
whole string as one big option.)

I can run exim manually with the options directly, but I can't figure out a way 
(short of hacking the init script itself) to get the options through via the 
normal avenues.

--Mike




-- Package-specific info:
Exim version 4.69 #1 built 02-May-2008 12:47:18
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

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22 (SMP w/4 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.107      add and remove users and groups
ii  cron                          3.0pl1-104 management of regular background p
ii  debconf [debconf-2.0]         1.5.21     Debian configuration management sy
ii  exim4-config [exim4-config-2] 4.69-5     configuration for the Exim MTA (v4
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  libdb4.6                      4.6.21-6   Berkeley v4.6 Database Libraries [
ii  lsb-base                      3.2-11     Linux Standard Base 3.2 init scrip
ii  netbase                       4.32       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  mailx              1:20071201-3          Transitional package for mailx ren
ii  psmisc             22.6-1                Utilities that use the proc filesy

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





More information about the Pkg-exim4-maintainers mailing list