Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905338 - net-mail/dovecot-2.3.20-r1: Missing /etc/pam.d/{imap*,pop*}
Summary: net-mail/dovecot-2.3.20-r1: Missing /etc/pam.d/{imap*,pop*}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Eray Aslan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-29 22:09 UTC by Walter Trautner
Modified: 2023-04-30 11:43 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Walter Trautner 2023-04-29 22:09:50 UTC
net-mail/dovecot-2.3.20-r1 installed with the pam USE flag depends on the pam files provided by net-mail/mailbase but does not enforce the pam USE flag on mailbase. This results in authentication failures in dovecot.

Reproducible: Always

Steps to Reproduce:
1. Install net-mail/mailbase without pam USE flag
2. Install net-mail/dovecot with pam USE flag
3. Configure dovecot to use pam and imap and/or pop:
passdb {
  args = *
  driver = pam
}
protocols = imap
[...]
Actual Results:  
pam_authenticate() failed: Authentication failure (/etc/pam.d/imap missing?)

Expected Results:  
Successful authentication
Comment 1 Larry the Git Cow gentoo-dev 2023-04-30 11:43:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b8feb72985b966d31e02595e0c14329aa449dbd

commit 4b8feb72985b966d31e02595e0c14329aa449dbd
Author:     Eray Aslan <eras@gentoo.org>
AuthorDate: 2023-04-30 11:41:39 +0000
Commit:     Eray Aslan <eras@gentoo.org>
CommitDate: 2023-04-30 11:41:39 +0000

    net-mail/dovecot: fix mailbase[pam] dependency
    
    Closes: https://bugs.gentoo.org/905338
    Signed-off-by: Eray Aslan <eras@gentoo.org>

 net-mail/dovecot/dovecot-2.3.20-r3.ebuild | 302 ++++++++++++++++++++++++++++++
 1 file changed, 302 insertions(+)