Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177748 - mail-mta/courier uses pam_stack
Summary: mail-mta/courier uses pam_stack
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-09 05:42 UTC by Ed Catmur
Modified: 2007-07-04 19:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pam-include-not-pam_stack.patch (pam-include-not-pam_stack.patch,1.50 KB, patch)
2007-05-14 05:18 UTC, Ed Catmur
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Catmur 2007-05-09 05:42:43 UTC
/etc/pam.d/esmtp and /etc/pam.d/webmail have:

auth       required     pam_stack.so service=system-auth
account    required     pam_stack.so service=system-auth
session    required     pam_stack.so service=system-auth

This breaks with sys-libs/pam-0.99.7.1, where pam_stack is removed.

These should be:

auth       include      system-auth
account    include      system-auth
session    include      system-auth
Comment 1 Ed Catmur 2007-05-14 05:18:04 UTC
Created attachment 119176 [details, diff]
pam-include-not-pam_stack.patch

Patch.
Comment 2 Laurence Withers 2007-06-11 19:37:39 UTC
I can confirm that when upgrading PAM to 0.99.7.1, courier does stop working due to pam_stack.so no longer being available. Changing the files in /etc/pam.d according to the patch also fixes the problem (I can now send/receive email correctly).

A quick google search shows up http://www.mail-archive.com/gentoo-dev%40gentoo.org/msg05454.html , which explains that pam_stack was a non-standard module deprecated in favour of the "include" control statement introduced in linux-pam-0.78. Both have the identical result of including the rules from another file in /etc/pam.d.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-07-04 19:56:27 UTC
I've applied it in a revbump of both ~arch and stable, in light of the plans for stabling Linux-PAM 0.99.