sqlite maps are broken in postfix 2.9.1-2

Bug #978698 reported by David Olrik
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
postfix (Debian)
Fix Released
Unknown
postfix (Ubuntu)
Fix Released
High
LaMont Jones
Precise
Fix Released
High
LaMont Jones

Bug Description

dict_sqlite.so compiled incorrectly in postfix 2.9.1-2. (Ubuntu precise 12.04)

When querying with postmap I get "undefined symbol: sqlite3_open"

Looking at the code I found these errors:

- In Makefile.in dict_sqlite.so is made to link against Postgresql instead of sqlite3.
- dict_sqlite.so is missing from dynamicmaps.cf
- dict_sqlite.so is not linked against libpthread as per http://www.postfix.org/SQLITE_README.html

The attached patch fixes these issues.

Revision history for this message
David Olrik (davidolrik) wrote :
James Page (james-page)
Changed in postfix (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "postfix-sqlite.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Changed in postfix (Debian):
status: Unknown → New
Revision history for this message
LaMont Jones (lamont) wrote :

Will be in 2.9.1-3

Changed in postfix (Ubuntu):
assignee: nobody → LaMont Jones (lamont)
status: New → Fix Committed
James Page (james-page)
Changed in postfix (Ubuntu):
milestone: none → ubuntu-12.04
Revision history for this message
Scott Kitterman (kitterman) wrote :

I think this one qualifies as RC.

Changed in postfix (Ubuntu Precise):
importance: Medium → High
tags: added: rls-mgr-p-tracking
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package postfix - 2.9.1-3

---------------
postfix (2.9.1-3) unstable; urgency=low

  [LaMont Jones]

  * Link with and use sqlite when building dict_sqlite. add sqlite
    dictionary to dynamicmaps.cf. Closes: #666950
  * whitespace cleanup
  * Default to version3 of ldap, instead of version2. Closes: #668095
  * address init script silent failure when cert copy fails. Closes: #667055
  * copy libgcc_s.so into the postfix chroot so that pthread_cancel stays
    happy. May address launchpad bug 970921.

  [David Olrik]

  * also need to link dict_sqlite.so against -lpthread. [Based on the patch
    from David.] Closes: #666693 LP: #978698

  [localization folks]

  * l10n: updated Russian debconf. Closes: #666785 (Sergey Alyoshin)
  * l10n: updated Japanese debconf. Closes: #666897 (Kenshi Muto)
  * l10n: Updated German debconf. Closes: #666412 (Helge Kreutzmann)
  * l10n: updated Swedish debconf. Closes: #668184 (Martin Bagge)
  * l10n: updated Danish debconf. Closes: #668033 (Joe Dalton)
  * l10n: updated Czech debconf. Closes: #668046 (Miroslav Kure)
  * l10n: updated Portuguese debconf. Closes: #668210 (Miguel Figueiredo)
  * l10n: updated French debconf. Closes: #666784 (Christian Perrier)
  * l10n: Turkish debconf. Closes: #666533 (Atila KOÇ)
  * l10n: updated Italian debconf. Closes: #667532 (Cristian Rigamonti)
 -- LaMont Jones <email address hidden> Thu, 12 Apr 2012 06:55:26 -0600

Changed in postfix (Ubuntu Precise):
status: Fix Committed → Fix Released
Changed in postfix (Debian):
status: New → Fix Released
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.