Steve Langasek wrote:
Is this a new install of the package, or an upgrade?
Originaly it was an upgrade, but in that case it is a "new install"
because I tried to remove postfix, flush all files and directory concerned.
Your report apparently excluded all debconf information, but this is almost
certainly a problem related to debconf and those values may be relevant to
understanding this bug. Can you please forward this information? The
output of "reportbug --debconf --template postfix" should be sufficient.
OK, I attached it to this email.
When I run /var/lib/dpkg/info/postfix.postinst configure it just exits
like that with no debug:
exit 20 /var/lib/dpkg/info/postfix.postinst configure
Please edit /var/lib/dpkg/info/postfix.postinst to add "set -x" as the
second line, and then try running it manually and capture the output.
I attached the output to this email, with this usefull debug we can see
that the script ends on:
+ 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
I do not run any daemon through inetd, do I have to use postfix with it
? I don't think so, postfix can run properly without inetd.
This script should detect it and do not ask to restart inetd. If i
comment out the line 176 to 178 the script ends properly and postfix
runs perfectly :
if [ -x /usr/sbin/update-inetd ]; then
update-inetd --disable smtp
fi
I think the "if [ -x /usr/sbin/update-inetd ]" clause is not adapted
here, I think it should grep if the smtp service is activated in inetd.conf.
Anyway, thanks for the help !
I hope it'll be fixed on the next release. :)
--
Alexandre Ahmim-Richard
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.2-grsec
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
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-7 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:
postfix/master_upgrade_warning:
postfix/db_upgrade_warning: true
* postfix/mailname: valheru
postfix/tlsmgr_upgrade_warning:
postfix/dynamicmaps_upgrade_warning:
postfix/recipient_delim: +
* postfix/main_mailer_type: Local only
postfix/transport_map_warning:
* postfix/append_dot_mydomain: false
postfix/relayhost:
postfix/procmail: false
postfix/bad_recipient_delimiter:
* postfix/chattr: false
* postfix/root_address: NONE
postfix/rfc1035_violation: false
postfix/mydomain_warning:
postfix/mynetworks: 127.0.0.0/8, 192.168.1.0/24, 192.168.2.0/24,
82.230.253.116
* postfix/destinations: valheru, localhost.localdomain, clope.net,
valheru.clope.net, localhost, gforge.esiea.fr
postfix/nqmgr_upgrade_warning:
postfix/not_configured:
postfix/mailbox_limit: 0
postfix/protocols: ipv4
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/postfix.postinst
configure
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ CHROOT=/var/spool/postfix
+ config_directory=/etc/postfix
+ . /usr/share/postfix/postinst.functions
+++ lsb_release -is
+++ echo Debian
++ DISTRO=Debian
+ umask 022
+ '[' configure = configure ']'
+ ldconfig
+ case "$1" in
+ OLDVERSION=
+ CHANGES=
+ NEWALIASES=y
+ update-rc.d postfix defaults
+ '[' -x /usr/sbin/update-inetd ']'
+ update-inetd --disable smtp
+ ldconfig
+ dpkg-divert --package postfix --remove --rename --divert
/usr/share/man/man8/smtpd.real.8.gz /usr/share/man/man8/smtpd.8.gz
+ '[' -d /etc/postfix/sasl ']'
+ cd /etc/postfix/sasl
+ for file in smtp smtpd
+ '[' -r sasl-smtp.conf ']'
+ for file in smtp smtpd
+ '[' -r sasl-smtpd.conf ']'
+ cd /var/spool/postfix
+ makedir private root:root 700
+ '[' '!' -d private ']'
+ chown root:root private
+ chmod 700 private
+ chgrp postfix private
+ chown postfix private
++ id -gn postfix
+ '[' postfix '!=' postfix ']'
+ 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
zsh: exit 128 /var/lib/dpkg/info/postfix.postinst configure