postfix (precise) has lost the ability to lookup aliases in NIS

Bug #1068036 reported by Ernst Kloppenburg on 2012-10-18
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
postfix (Ubuntu)
High
Scott Kitterman
Precise
High
Scott Kitterman
Quantal
High
Scott Kitterman
Raring
High
Scott Kitterman

Bug Description

[IMPACT]

 * NIS authentication doesn't work.

[TESTCASE]

 * With postfix installed do:

$ postconf -m | grep nis

If that produces no output, you've reproduced the bug.

* Install the updated package and repeat. This time is should look like:

$ postconf -m | grep nis
nis

[Regression Potential]

 * Nil. It's just re-enabling a build flag for functionality that was previously dropped.

[Original Bug]

on a (freshly installed) system with nis authentication, postfix is no longer able to read aliases from the nis table mail.aliases.
in 10.04 it worked

symptoms are:
- errors in /var/log/mail.log:
warning: nis:mail.aliases is unavailable. unsupported dictionary type: nis
- and mail is not forwarded

Obviously some build switch was changed between 10.04 and 12.04.
In 10.04:
$ postconf -m | grep nis
nis

In 12.04 the output is empty.

But still in 12.04 the postfix.postinst skript looks for nis and creates an appropriate mail.cf entry for lookup in nis:mail.aliases

$ lsb_release -rd
Description: Ubuntu 12.04.1 LTS
Release: 12.04

$ apt-cache policy postfix
postfix:
  Installiert: 2.9.3-2~12.04.3

Scott Kitterman (kitterman) wrote :

Yes. It was a build argument change. I found where it was done and I'm checking to verify if there was a reason for it.

description: updated
Scott Kitterman (kitterman) wrote :

Dropping it was inadvertent. I've uploaded a fix for both 12.04 and 12.10 which will be available for testing once the uploads are reviewed by the stable release updates team.

Changed in postfix (Ubuntu Precise):
importance: Undecided → High
Changed in postfix (Ubuntu Quantal):
importance: Undecided → High
Changed in postfix (Ubuntu Raring):
importance: Undecided → High
Changed in postfix (Ubuntu Precise):
milestone: none → ubuntu-12.04.2
Changed in postfix (Ubuntu Quantal):
milestone: none → quantal-updates
Changed in postfix (Ubuntu Raring):
milestone: none → ubuntu-13.04-beta-1
Changed in postfix (Ubuntu Precise):
status: New → In Progress
Changed in postfix (Ubuntu Quantal):
status: New → In Progress
Changed in postfix (Ubuntu Raring):
status: New → Triaged
Changed in postfix (Ubuntu Precise):
assignee: nobody → Scott Kitterman (kitterman)
Changed in postfix (Ubuntu Quantal):
assignee: nobody → Scott Kitterman (kitterman)
Changed in postfix (Ubuntu Raring):
assignee: nobody → Scott Kitterman (kitterman)

Hello Ernst, or anyone else affected,

Accepted postfix into quantal-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/postfix/2.9.3-2ubuntu2.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in postfix (Ubuntu Quantal):
status: In Progress → Fix Committed
tags: added: verification-needed
Clint Byrum (clint-fewbar) wrote :

Hello Ernst, or anyone else affected,

Accepted postfix into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/postfix/2.9.3-2~12.04.4 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in postfix (Ubuntu Precise):
status: In Progress → Fix Committed

on the system where I had the problem I did this to verify the fix
- removed workarounds in main.cf
- sent emails and verified that they trigger the error and remain in the queue
- installed 2.9.3-2~12.04.4
-> bug is gone, mail works normally

tags: added: verification-done
removed: verification-needed
Scott Kitterman (kitterman) wrote :

I verified the fix per the test case on quantal.

tags: added: verification-done-precise
removed: verification-done
tags: added: verification
removed: verification-done-precise
tags: added: verification-done
removed: verification

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package postfix - 2.9.3-2ubuntu2.1

---------------
postfix (2.9.3-2ubuntu2.1) quantal-proposed; urgency=low

  * Re-enabled NIS authentication which was inadvertently dropped
    (LP: #1068036)
 -- Scott Kitterman <email address hidden> Thu, 18 Oct 2012 23:50:55 -0400

Changed in postfix (Ubuntu Quantal):
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package postfix - 2.9.3-2~12.04.4

---------------
postfix (2.9.3-2~12.04.4) precise-proposed; urgency=low

  * Add back support for NIS authentication that was inadvertently dropped
    (LP: #1068036)
 -- Scott Kitterman <email address hidden> Thu, 18 Oct 2012 23:54:05 -0400

Changed in postfix (Ubuntu Precise):
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package postfix - 2.9.3-2ubuntu2.1

---------------
postfix (2.9.3-2ubuntu2.1) quantal-proposed; urgency=low

  * Re-enabled NIS authentication which was inadvertently dropped
    (LP: #1068036)
 -- Scott Kitterman <email address hidden> Thu, 18 Oct 2012 23:50:55 -0400

Changed in postfix (Ubuntu Raring):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers