Debian Bug report logs - #245200
postfix: Postalias fails - Postfix fails to start after install

version graph

Package: postfix; Maintainer for postfix is LaMont Jones <lamont@debian.org>; Source for postfix is src:postfix (PTS, buildd, popcon).

Reported by: jokke heikkila <jokke@kuva.fi>

Date: Wed, 21 Apr 2004 21:03:05 UTC

Severity: normal

Tags: bookworm, bullseye, buster, jessie, moreinfo, sid, stretch, unreproducible

Found in versions 2.0.19-1, 2.1.5-4

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, LaMont Jones <lamont@debian.org>:
Bug#245200; Package postfix. (full text, mbox, link).


Acknowledgement sent to jokke heikkila <jokke@kuva.fi>:
New Bug report received and forwarded. Copy sent to LaMont Jones <lamont@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: jokke heikkila <jokke@kuva.fi>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: postfix: Postalias fails - Postfix fails to start after install
Date: Wed, 21 Apr 2004 23:55:04 +0300
Package: postfix
Version: 2.0.19-1
Severity: grave
Tags: sid
Justification: renders package unusable



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.18-bf2.4
Locale: LANG=C, LC_CTYPE=C

Versions of packages postfix depends on:
ii  adduser           3.52         Add and remove users and groups
ii  debconf           1.4.22       Debian configuration management sy
ii  dpkg              1.10.20      Package maintenance system for Deb
ii  libc6             2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libdb4.1          4.1.25-16    Berkeley v4.1 Database Libraries [
ii  libgdbm3          1.8.3-2      GNU dbm database routines (runtime
ii  netbase           4.16         Basic TCP/IP networking system

-- debconf information:
  postfix/master_upgrade_warning: 
  postfix/db_upgrade_warning: true
* postfix/mailname: magnusborg.fi
  postfix/dynamicmaps_upgrade_warning: 
  postfix/recipient_delim: +
* postfix/main_mailer_type: Internet Site
  postfix/transport_map_warning: 
* postfix/append_dot_mydomain: true
  postfix/relayhost: 
  postfix/procmail: true
  postfix/bad_recipient_delimiter: 
* postfix/chattr: false
* postfix/root_address: NONE
  postfix/rfc1035_violation: false
  postfix/mynetworks: 127.0.0.0/8
* postfix/destinations: tahko.magnusborg.fi, localhost.magnusborg.fi, ,
localhost
  postfix/not_configured: 
  postfix/mailbox_limit: 0


What went on is following:
1. net installed woody with postfix, was able to use it
2. dist upgraded to sid
3. tried to install postfix but install script fails with postalias giving
error
---
postalias: relocation error: /usr/lib/libpostfix-util.so.1: undefined symbol:
db_version_4001
---

4. tried with source --compile and during the process i got
---
dpkg-shlibdeps: warning: could not find any packages for /usr/local/bdb/lib/
libdb-4.1.so (libdb.so.4.1)
dpkg-shlibdeps: warning: unable to find dependency information for shared
library libdb (soname 4.1, path /usr/local/bdb/lib/libdb-4.1.so, dependency 
 field Depends) 
---

and later when I did dpkg -i postfix_xyz.deb I got again
---
postalias: relocation error: /usr/lib/libpostfix-util.so.1: undefined symbol:
db_version_4001



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#245200; Package postfix. (full text, mbox, link).


Acknowledgement sent to LaMont Jones <lamont@debian.org>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #10 received at 245200@bugs.debian.org (full text, mbox, reply):

From: LaMont Jones <lamont@debian.org>
To: jokke heikkila <jokke@kuva.fi>, 245200@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: Bug#245200: postfix: Postalias fails - Postfix fails to start after install
Date: Wed, 21 Apr 2004 16:30:52 -0600
tags 245200 + unreproducible
severity 245200 normal
--

Postfix Depends: libdb4.1, which provides /usr/lib/libdb-4.1.so, which
has the symbol.  I'm not sure why your machine is trying to use 
/usr/local/bdb/lib/libdb-4.1.so, but it's clearly something that is
(a) not postfix's fault, and (b) specific to whatever has been done to
your system outside the packaging.

lamont

On Wed, Apr 21, 2004 at 11:55:04PM +0300, jokke heikkila wrote:
> ii  libdb4.1          4.1.25-16    Berkeley v4.1 Database Libraries [
> ---
> postalias: relocation error: /usr/lib/libpostfix-util.so.1: undefined symbol:
> db_version_4001
> ---
> 4. tried with source --compile and during the process i got
> ---
> dpkg-shlibdeps: warning: could not find any packages for /usr/local/bdb/lib/
> libdb-4.1.so (libdb.so.4.1)
> dpkg-shlibdeps: warning: unable to find dependency information for shared
> library libdb (soname 4.1, path /usr/local/bdb/lib/libdb-4.1.so, dependency 
>  field Depends) 

% ldd /usr/lib/libpostfix-util.so.1 
        libdl.so.2 => /lib/libdl.so.2 (0x4002b000)
        libdb-4.1.so => /usr/lib/libdb-4.1.so (0x4002e000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x400de000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x400f3000)
        libgdbm_compat.so.3 => /usr/lib/libgdbm_compat.so.3 (0x40105000)
        libc.so.6 => /lib/libc.so.6 (0x40108000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
        libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0x4023a000)



Tags added: unreproducible Request was from LaMont Jones <lamont@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Severity set to `normal'. Request was from LaMont Jones <lamont@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, LaMont Jones <lamont@debian.org>:
Bug#245200; Package postfix. (full text, mbox, link).


Acknowledgement sent to Dan MacNeil <dan@thecsl.org>:
Extra info received and forwarded to list. Copy sent to LaMont Jones <lamont@debian.org>. (full text, mbox, link).


Message #19 received at 245200@bugs.debian.org (full text, mbox, reply):

From: Dan MacNeil <dan@thecsl.org>
To: Debian Bug Tracking System <245200@bugs.debian.org>
Subject: upgrade postalias pukes on main.cf: virtual_alias_maps = ldap:/etc/postfix/ldap_aliases.cf
Date: Thu, 20 Jan 2005 22:15:47 -0500
Package: postfix
Version: 2.1.5-4
Followup-For: Bug #245200


Sorry for not having more detail, or including specific steps to reproduce, 
but commenting out:

virtual_alias_maps = ldap:/etc/postfix/ldap_aliases.cf

...in /etc/postfx/main.cf

allowed the upgrade to happen. before it died with an error like that 
described bug #200245


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (650, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.18.20040416c
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages postfix depends on:
ii  adduser                     3.59         Add and remove users and groups
ii  debconf [debconf-2.0]       1.4.30.11    Debian configuration management sy
ii  dpkg                        1.10.25      Package maintenance system for Deb
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-17    Berkeley v4.2 Database Libraries [
ii  libgdbm3                    1.8.3-2      GNU dbm database routines (runtime
ii  netbase                     4.19         Basic TCP/IP networking system

-- debconf information:
* postfix/master_upgrade_warning: true
  postfix/db_upgrade_warning: true
  postfix/mailname: /etc/mailname
* postfix/dynamicmaps_upgrade_warning: true
  postfix/recipient_delim: +
* postfix/main_mailer_type: No configuration
  postfix/transport_map_warning:
  postfix/append_dot_mydomain: false
  postfix/db2_db3_upgrade: true
  postfix/relayhost:
  postfix/procmail:
  postfix/bad_recipient_delimiter:
  postfix/chattr: false
  postfix/root_address: NONE
  postfix/rfc1035_violation: false
  postfix/mynetworks: 127.0.0.0/8
  postfix/destinations:
  postfix/nqmgr_upgrade_warning:
  postfix/not_configured:
  postfix/mailbox_limit: 0



Information forwarded to debian-bugs-dist@lists.debian.org, LaMont Jones <lamont@debian.org>:
Bug#245200; Package postfix. (full text, mbox, link).


Acknowledgement sent to Dan MacNeil <dan@thecsl.org>:
Extra info received and forwarded to list. Copy sent to LaMont Jones <lamont@debian.org>. (full text, mbox, link).


Message #24 received at 245200@bugs.debian.org (full text, mbox, reply):

From: Dan MacNeil <dan@thecsl.org>
To: 245200@bugs.debian.org
Subject: Re: Bug#245200: Info received (was upgrade postalias pukes on main.cf: virtual_alias_maps = ldap:/etc/postfix/ldap_aliases.cf)
Date: Thu, 20 Jan 2005 23:20:43 -0500
I should also mention that it is reasonable to expect that

postalias won't work on an file with an ldap query



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#245200; Package postfix. (full text, mbox, link).


Acknowledgement sent to LaMont Jones <lamont@debian.org>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #29 received at 245200@bugs.debian.org (full text, mbox, reply):

From: LaMont Jones <lamont@debian.org>
To: Dan MacNeil <dan@thecsl.org>, 245200@bugs.debian.org
Subject: Re: Bug#245200: Info received (was upgrade postalias pukes on main.cf: virtual_alias_maps = ldap:/etc/postfix/ldap_aliases.cf)
Date: Thu, 20 Jan 2005 21:55:48 -0700
On Thu, Jan 20, 2005 at 11:20:43PM -0500, Dan MacNeil wrote:
> I should also mention that it is reasonable to expect that
> postalias won't work on an file with an ldap query

That's why newaliases uses alias_database, while the alias lookups use
alias_maps:

# The alias_maps parameter specifies the list of alias databases used
# by the local delivery agent. The default list is system dependent.

# The alias_database parameter specifies the alias database(s) that
# are built with "newaliases" or "sendmail -bi".  This is a separate
# configuration parameter, because alias_maps (see above) may specify
# tables that are not necessarily all under control by Postfix.

The only way I could see this as being related to the original report
would be if the ldap library on the machine was incorrectly built, and
_it_ was the one missing the symbol.

lamont



Tags added: moreinfo Request was from LaMont Jones <lamont@debian.org> to control@bugs.debian.org. (Sun, 20 Jan 2008 18:39:03 GMT) (full text, mbox, link).


Added tag(s) jessie. Request was from Julien Cristau <jcristau@debian.org> to control@bugs.debian.org. (Thu, 18 Apr 2013 17:39:24 GMT) (full text, mbox, link).


Added tag(s) stretch. Request was from Ivo De Decker <ivodd@debian.org> to control@bugs.debian.org. (Tue, 28 Apr 2015 17:09:36 GMT) (full text, mbox, link).


Added tag(s) buster. Request was from ivodd@debian.org to control@bugs.debian.org. (Sun, 18 Jun 2017 09:51:19 GMT) (full text, mbox, link).


Added tag(s) bullseye. Request was from ivodd@debian.org to control@bugs.debian.org. (Mon, 08 Jul 2019 08:27:26 GMT) (full text, mbox, link).


Added tag(s) bookworm. Request was from Sebastian Ramacher <sramacher@debian.org> to control@bugs.debian.org. (Mon, 16 Aug 2021 07:03:09 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jun 4 22:34:48 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.