I should have put more of the configure "-x" output, as I just noticed that that is where update-inetd is actually executed from. Here is the entire execution:

foobar:/# dpkg --configure postfix
Setting up postfix (2.3.6-1) ...
+ . /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") received from confmodule.'
+ case ${_db_internal_line%%[   ]*} in
+ return 20
dpkg: error processing postfix (--configure):
 subprocess post-installation script returned error exit status 20
Errors were encountered while processing:
 postfix


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

Reply via email to