Package: postfix
Version: 2.3.6-1
Severity: grave
Justification: renders package unusable


Postfix postinst fails when inetd does not have any services enabled. (At
least) in this case, the call to update-inetd on line 177 dumps some output
into the file descriptor reserved for debconf database interactions and
subsequenty makes the script fail disgracefully, rendering the mail server and 
its dependant
packages (courier-* in my case) dysfunctional:

+ chown postfix:root private
+ db_fget postfix/chattr changed
+ _db_cmd 'FGET postfix/chattr' changed
+ IFS=' '
+ printf '%s\n' 'FGET postfix/chattr changed'
+ IFS='
'
+ read -r _db_internal_line
+ RET='20 Unsupported command "restarting" (full line was "Restarting
internet superserver: inetd* Not starting internet superserver: no services
enabled.") received from confmodule.'
+ case ${_db_internal_line%%[   ]*} in
+ return 20
dpkg: error processing postfix (--configure):
 subprocess post-installation script returned error exit status 20

Thus, redirecting output fixed the problem for me:

177c177
<     update-inetd --disable smtp
---
>     update-inetd --disable smtp >/dev/null 2>&1 3>&1

Best regards,
Christiane
 

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages postfix depends on:
ii  adduser                   3.102          Add and remove users and groups
ii  debconf [debconf-2.0]     1.5.11         Debian configuration management sy
ii  dpkg                      1.13.25        package maintenance system for Deb
ii  libc6                     2.3.6.ds1-11   GNU C Library: Shared libraries
ii  libdb4.3                  4.3.29-6       Berkeley v4.3 Database Libraries [
ii  libsasl2-2                2.1.22.dfsg1-8 Authentication abstraction library
ii  libssl0.9.8               0.9.8c-4       SSL shared libraries
ii  lsb-base                  3.1-23         Linux Standard Base 3.1 init scrip
ii  netbase                   4.29           Basic TCP/IP networking system
ii  ssl-cert                  1.0.14         Simple debconf wrapper for openssl

Versions of packages postfix recommends:
ii  mailx [mail-read 1:8.1.2-0.20050715cvs-1 A simple mail user agent
ii  mutt [mail-reade 1.5.13-1.1              text-based mailreader supporting M

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to