Latest postfix update breaks hash-based aliases.db (potentially other .db files too?)

Bug #800597 reported by d1zzyg

This bug report was converted into a question: question #162327: Latest postfix update breaks hash-based aliases.db (potentially other .db files too?).

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
postfix (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

OS: Ubuntu 8.04.4 LTS
Package: 2.5.1-2ubuntu1.4

Errors were reported during the update:
  postfix/postfix-script: fatal: the Postfix mail system is already running [fail]
  invoke-rc.d: initscript postfix, action "restart" failed.
  dpkg: error processing postfix (--configure):
   subprocess post-installation script returned error exit status 1
  dpkg: dependency problems prevent configuration of postfix-ldap:
   postfix-ldap depends on postfix (= 2.5.1-2ubuntu1.4); however:
    Package postfix is not configured yet.
  dpkg: error processing postfix-ldap (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of postfix-pcre:
   postfix-pcre depends on postfix (= 2.5.1-2ubuntu1.4); however:
    Package postfix is not configured yet.
  dpkg: error processing postfix-pcre (--configure):
   dependency problems - leaving unconfigured
  Processing triggers for libc6 ...
  ldconfig deferred processing now taking place
  Errors were encountered while processing:
   postfix
   postfix-ldap
   postfix-pcre

Whenever postfix is restarted, the following errors are shown in /var/log/mail.err:
  Jun 22 09:50:04 colossus postfix/local[30997]: fatal: open database /etc/mail/aliases.db: Invalid argument

The *original* version of the aliases.db file gives (file /etc/postfix/aliases.db):
  /etc/postfix/aliases.db: Berkeley DB (Hash, version 8, native byte-order)
... whereas *after* the update it shows version 9.

TEMPORARY FIX: Changing the default_database_type to btree fixes aliases.db, kills the mail.errors and allows postfix to run normally.

Tags: bdb hash postfix
Revision history for this message
Scott Kitterman (kitterman) wrote :

https://launchpadlibrarian.net/71523987/postfix_2.5.1-2ubuntu1.3_2.5.1-2ubuntu1.4.diff.gz

There's nothing in the update that could cause that. It looks like what you have is a postfix configuration problem unrelated to the package update.

Changed in postfix (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.