Your message dated Fri, 6 Jul 2012 17:07:24 +0200
with message-id <20120706150724.GA4000@elende>
and subject line Re: Bug#619533: FIXED: User error
has caused the Debian Bug report #619533,
regarding postfix: Upgrade 2.8.2 broken newaliases can't find aliases.db after
moving it
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
619533: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619533
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: postfix
Version: 2.8.2-1
Severity: important
I upgraded to version 2.8.2 of postfix. During this upgrade postfix tried to
replace the old /etc/aliases.db with a new one by running newaliases after
moving
the old one to /etc/aliases.db.db. I downloaded the source of the postfix
package
and added the option set -x at the top of the debian/postinst script. After
that
I rebuilt the package and tried to install it. Here is the log[0] for this
installation process. I looked around the upstream patchsets for 2.8.1 and 2.8.2
both appear not to contain changes to the the application newaliases/sendmail.
Equally, I cannot find any hints of a change in behaviour if an aliases.db
exists
already in the diff.gz provided by the package.
[0] Installation log:
--------------------------------------------------------------------------------
root@andreas:/etc# ls -l aliases*
-rw-r--r-- 1 root root 214 17. Mär 14:21 aliases
root@andreas:/etc# apt-get upgrade postfix
Paketlisten werden gelesen...
Abhängigkeitsbaum wird aufgebaut...
Statusinformationen werden eingelesen...
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren [J/n]? postfix (2.8.2-1) wird eingerichtet ...
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/postfix.postinst
configure 2.8.1-1
+ . /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
++ DISTRO=Debian
+ umask 022
+ '[' configure = configure ']'
+ ldconfig
+ case "$1" in
+ OLDVERSION=2.8.1-1
+ CHANGES=
+ NEWALIASES=y
+ update-rc.d postfix defaults
+ 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=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ '[' false = true ']'
+ makedir pid root:root 755
+ '[' '!' -d pid ']'
+ chown root:root pid
+ chmod 755 pid
+ makedir public postfix:root 755
+ '[' '!' -d public ']'
+ chown postfix:root public
+ chmod 755 public
+ for dir in incoming active bounce defer deferred flush saved corrupt
+ makedir incoming postfix:root 700
+ '[' '!' -d incoming ']'
+ chown postfix:root incoming
+ chmod 700 incoming
+ '[' -n '' ']'
+ for dir in incoming active bounce defer deferred flush saved corrupt
+ makedir active postfix:root 700
+ '[' '!' -d active ']'
+ chown postfix:root active
+ chmod 700 active
+ '[' -n '' ']'
+ for dir in incoming active bounce defer deferred flush saved corrupt
+ makedir bounce postfix:root 700
+ '[' '!' -d bounce ']'
+ chown postfix:root bounce
+ chmod 700 bounce
+ '[' -n '' ']'
+ for dir in incoming active bounce defer deferred flush saved corrupt
+ makedir defer postfix:root 700
+ '[' '!' -d defer ']'
+ chown postfix:root defer
+ chmod 700 defer
+ '[' -n '' ']'
+ for dir in incoming active bounce defer deferred flush saved corrupt
+ makedir deferred postfix:root 700
+ '[' '!' -d deferred ']'
+ chown postfix:root deferred
+ chmod 700 deferred
+ '[' -n '' ']'
+ for dir in incoming active bounce defer deferred flush saved corrupt
+ makedir flush postfix:root 700
+ '[' '!' -d flush ']'
+ chown postfix:root flush
+ chmod 700 flush
+ '[' -n '' ']'
+ for dir in incoming active bounce defer deferred flush saved corrupt
+ makedir saved postfix:root 700
+ '[' '!' -d saved ']'
+ chown postfix:root saved
+ chmod 700 saved
+ '[' -n '' ']'
+ for dir in incoming active bounce defer deferred flush saved corrupt
+ makedir corrupt postfix:root 700
+ '[' '!' -d corrupt ']'
+ chown postfix:root corrupt
+ chmod 700 corrupt
+ '[' -n '' ']'
+ cd /etc/postfix
+ '[' '!' -f dynamicmaps.cf ']'
+ '[' -f /var/spool/postfix/dynamicmaps_upgrade ']'
+ db_get postfix/main_mailer_type
+ _db_cmd 'GET postfix/main_mailer_type'
+ IFS=' '
+ printf '%s\n' 'GET postfix/main_mailer_type'
+ IFS='
'
+ read -r _db_internal_line
+ RET='Local only'
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ mailer='Local only'
+ '[' -f master.cf ']'
+ '[' 'Local only' '!=' 'No configuration' ']'
+ '[' -f main.cf ']'
+ NEWCONF=
++ md5sum /etc/postfix/master.cf
+ md5sum='2e5a8b804d22c6579ed22ca0a19ed93a /etc/postfix/master.cf'
+ '[' 2e5a8b804d22c6579ed22ca0a19ed93a = fadb677a071ea2851cc2b8a12345823d ']'
+ '[' -d /etc/postfix/maildrop ']'
+ set_maildrop_perms postdrop
+ MAILDROP=/var/spool/postfix/maildrop
+ SCRIPT=/etc/postfix/postfix-script
+ POSTDROP=/usr/sbin/postdrop
+ mkdir -p /var/spool/postfix/maildrop
+ chown postfix:postdrop /var/spool/postfix/maildrop
+ dpkg-statoverride --remove /usr/sbin/postdrop
+ dpkg-statoverride --remove /var/spool/postfix/public
+ dpkg-statoverride --remove /usr/sbin/postqueue
+ dpkg-statoverride --update --add root postdrop 02555 /usr/sbin/postdrop
+ dpkg-statoverride --update --add postfix postdrop 02710
/var/spool/postfix/public
+ dpkg-statoverride --update --add root postdrop 02555 /usr/sbin/postqueue
+ chmod 1730 /var/spool/postfix/maildrop
+ '[' -f /var/spool/postfix/db-upgrade ']'
+ '[' 'Local only' '!=' 'No configuration' ']'
++ hostname --fqdn
+ myhostname=andreas.xtxhb.ath.cx
+ '[' -z andreas.xtxhb.ath.cx ']'
+ mydomain=xtxhb.ath.cx
+ '[' -n '' ']'
+ '[' -f /var/spool/postfix/mydomain-upgrade ']'
+ db_fget postfix/mailname changed
+ _db_cmd 'FGET postfix/mailname' changed
+ IFS=' '
+ printf '%s\n' 'FGET postfix/mailname changed'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ '[' false = true ']'
+ db_fget postfix/destinations changed
+ _db_cmd 'FGET postfix/destinations' changed
+ IFS=' '
+ printf '%s\n' 'FGET postfix/destinations changed'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ '[' false = true ']'
+ db_fget postfix/relayhost changed
+ _db_cmd 'FGET postfix/relayhost' changed
+ IFS=' '
+ printf '%s\n' 'FGET postfix/relayhost changed'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ '[' false = true ']'
+ db_fget postfix/mynetworks changed
+ _db_cmd 'FGET postfix/mynetworks' changed
+ IFS=' '
+ printf '%s\n' 'FGET postfix/mynetworks changed'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ '[' false = true ']'
+ db_fget postfix/procmail changed
+ _db_cmd 'FGET postfix/procmail' changed
+ IFS=' '
+ printf '%s\n' 'FGET postfix/procmail changed'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ '[' false = true ']'
+ db_fget postfix/mailbox_limit changed
+ _db_cmd 'FGET postfix/mailbox_limit' changed
+ IFS=' '
+ printf '%s\n' 'FGET postfix/mailbox_limit changed'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ '[' false = true ']'
+ db_fget postfix/recipient_delim changed
+ _db_cmd 'FGET postfix/recipient_delim' changed
+ IFS=' '
+ printf '%s\n' 'FGET postfix/recipient_delim changed'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ '[' false = true ']'
+ db_fget postfix/main_mailer_type changed
+ _db_cmd 'FGET postfix/main_mailer_type' changed
+ IFS=' '
+ printf '%s\n' 'FGET postfix/main_mailer_type changed'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ '[' false = true ']'
+ db_fget postfix/protocols changed
+ _db_cmd 'FGET postfix/protocols' changed
+ IFS=' '
+ printf '%s\n' 'FGET postfix/protocols changed'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ '[' false = true ']'
+ '[' -z '' ']'
+ MSG='configuration was not changed'
+ '[' '!' -f /etc/aliases ']'
+ '[' X2.8.1-1 = X ']'
+ db_fget postfix/root_address changed
+ _db_cmd 'FGET postfix/root_address' changed
+ IFS=' '
+ printf '%s\n' 'FGET postfix/root_address changed'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ '[' false = true ']'
+ fset_all_changed false
+ db_fset postfix/main_mailer_type changed false
+ _db_cmd 'FSET postfix/main_mailer_type' changed false
+ IFS=' '
+ printf '%s\n' 'FSET postfix/main_mailer_type changed false'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ db_fset postfix/root_address changed false
+ _db_cmd 'FSET postfix/root_address' changed false
+ IFS=' '
+ printf '%s\n' 'FSET postfix/root_address changed false'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ db_fset postfix/destinations changed false
+ _db_cmd 'FSET postfix/destinations' changed false
+ IFS=' '
+ printf '%s\n' 'FSET postfix/destinations changed false'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ db_fset postfix/mailname changed false
+ _db_cmd 'FSET postfix/mailname' changed false
+ IFS=' '
+ printf '%s\n' 'FSET postfix/mailname changed false'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ db_fset postfix/relayhost changed false
+ _db_cmd 'FSET postfix/relayhost' changed false
+ IFS=' '
+ printf '%s\n' 'FSET postfix/relayhost changed false'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ db_fset postfix/chattr changed false
+ _db_cmd 'FSET postfix/chattr' changed false
+ IFS=' '
+ printf '%s\n' 'FSET postfix/chattr changed false'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ db_fset postfix/mynetworks changed false
+ _db_cmd 'FSET postfix/mynetworks' changed false
+ IFS=' '
+ printf '%s\n' 'FSET postfix/mynetworks changed false'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ db_fset postfix/procmail changed false
+ _db_cmd 'FSET postfix/procmail' changed false
+ IFS=' '
+ printf '%s\n' 'FSET postfix/procmail changed false'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ db_fset postfix/mailbox_limit changed false
+ _db_cmd 'FSET postfix/mailbox_limit' changed false
+ IFS=' '
+ printf '%s\n' 'FSET postfix/mailbox_limit changed false'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ db_fset postfix/recipient_delim changed false
+ _db_cmd 'FSET postfix/recipient_delim' changed false
+ IFS=' '
+ printf '%s\n' 'FSET postfix/recipient_delim changed false'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ fold -s
Postfix configuration was not changed. If you need to make changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).
After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.
+ db_stop
+ echo STOP
+ fix_master
+ echoed=
+ MASTER=/etc/postfix/master.cf
+ grep -qE '^cleanup[[:space:]]+unix[[:space:]]+-' /etc/postfix/master.cf
+ read line
+ serv=flush
+ grep -qE '^flush[[:space:]]' /etc/postfix/master.cf
+ read line
+ serv=proxymap
+ grep -qE '^proxymap[[:space:]]' /etc/postfix/master.cf
+ read line
+ serv=trace
+ grep -qE '^trace[[:space:]]' /etc/postfix/master.cf
+ read line
+ serv=verify
+ grep -qE '^verify[[:space:]]' /etc/postfix/master.cf
+ read line
+ serv=tlsmgr
+ grep -qE '^tlsmgr[[:space:]]' /etc/postfix/master.cf
+ read line
+ serv=anvil
+ grep -qE '^anvil[[:space:]]' /etc/postfix/master.cf
+ read line
+ serv=scache
+ grep -qE '^scache[[:space:]]' /etc/postfix/master.cf
+ read line
+ serv=discard
+ grep -qE '^discard[[:space:]]' /etc/postfix/master.cf
+ read line
+ serv=retry
+ grep -qE '^retry[[:space:]]' /etc/postfix/master.cf
+ read line
+ grep -qE '^relay[[:space:]]' /etc/postfix/master.cf
+ grep -qE '^tlsmgr[[:space:]]*fifo' /etc/postfix/master.cf
+ chown postfix:postfix /var/lib/postfix
+ '[' -f /var/lib/postfix/prng_exch ']'
+ '[' X2.8.1-1 = X ']'
+ '[' -x /usr/sbin/update-inetd ']'
+ update-inetd --disable smtp
+ '[' 'Local only' '!=' 'No configuration' ']'
+ '[' -n y ']'
+ echo 'Running newaliases'
Running newaliases
+ rm -f /etc/aliases.db
++ postconf -h myhostname
+ '[' -z andreas.xtxhb.ath.cx ']'
+ newaliases
postalias: fatal: open /etc/aliases.db: No such file or directory
dpkg: Fehler beim Bearbeiten von postfix (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
postfix
--------------------------------------------------------------------------------
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.37-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages postfix depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii debconf [debconf-2.0] 1.5.38 Debian configuration management sy
ii dpkg 1.15.8.10 Debian package management system
ii libc6 2.11.2-13 Embedded GNU C Library: Shared lib
ii libdb5.1 5.1.25-1 Berkeley v5.1 Database Libraries [
ii libsasl2-2 2.1.23.dfsg1-8 Cyrus SASL - authentication abstra
ii libssl0.9.8 0.9.8o-5 SSL shared libraries
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
ii netbase 4.45 Basic TCP/IP networking system
ii ssl-cert 1.0.28 simple debconf wrapper for OpenSSL
Versions of packages postfix recommends:
ii python 2.6.6-12 interactive high-level object-orie
Versions of packages postfix suggests:
ii bsd-mailx [mail-re 8.1.2-0.20100314cvs-1 simple mail user agent
pn dovecot-common <none> (no description available)
ii emacs [mail-reader 23.2+1-7 The GNU Emacs editor (metapackage)
ii emacs22 [mail-read 22.3+1-1.2 The GNU Emacs editor
ii emacs23 [mail-read 23.2+1-7 The GNU Emacs editor (with GTK+ us
ii kmail [mail-reader 4:4.4.7-3 full featured graphical email clie
ii libsasl2-modules 2.1.23.dfsg1-8 Cyrus SASL - pluggable authenticat
ii mutt [mail-reader] 1.5.21-3 text-based mailreader supporting M
pn postfix-cdb <none> (no description available)
pn postfix-ldap <none> (no description available)
pn postfix-mysql <none> (no description available)
pn postfix-pcre <none> (no description available)
pn postfix-pgsql <none> (no description available)
ii procmail 3.22-19 Versatile e-mail processor
pn resolvconf <none> (no description available)
pn sasl2-bin <none> (no description available)
pn ufw <none> (no description available)
ii wl [mail-reader] 2.14.0-12 mail/news reader supporting IMAP f
-- debconf information:
* postfix/mailname: andres.andreas
postfix/tlsmgr_upgrade_warning:
postfix/retry_upgrade_warning:
postfix/relayhost:
postfix/procmail: true
postfix/bad_recipient_delimiter:
postfix/rfc1035_violation: false
postfix/mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
postfix/protocols: ipv4
postfix/recipient_delim: +
* postfix/main_mailer_type: Local only
postfix/kernel_version_warning:
postfix/chattr: false
postfix/root_address:
postfix/mydomain_warning:
postfix/destinations: andreas.xtxhb.ath.cx xtxhb.ath.cx
localhost.xtxhb.ath.cx, localhost
postfix/not_configured:
postfix/mailbox_limit: 0
--- End Message ---
--- Begin Message ---
On Fri, Mar 25, 2011 at 10:28:26AM +0100, Andreas Marschke wrote:
> Sorry for the bug yesterday. I checked my configuration which said:
> > alias_database = hash:/etc/aliases.db
> which is incorrect. I'm sorry for opening this bug.
>
> You can close it.
Closing the bugreport.
Regards,
Salvatore
signature.asc
Description: Digital signature
--- End Message ---