RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1126794 - dovecot segfault with multi passdb in lmtp
Summary: dovecot segfault with multi passdb in lmtp
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: dovecot
Version: 7.2
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Michal Hlavinka
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-05 09:58 UTC by ayaka
Modified: 2020-06-10 10:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-10 10:24:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description ayaka 2014-08-05 09:58:16 UTC
Description of problem:
I configure postfix with dovecot using lmtp.
I configure two passdb, one is auth-system the other is auth-sql
I works fine for pop3 but I can't work with lmtp. It would cause a segfault.
If I remove auth-system, it works fine.

Version-Release number of selected component (if applicable):
postfix 2.10.1 6.el7
dovecot 2.2.10 4.el7_0.1
dovecot mysql 2.2.10 4.el7_0.1

Additional info:
Aug  5 17:09:03 kozue postfix/smtpd[27019]: warning: hostname 90.49.156.27.broad.fz.fj.dynamic.163data.com.cn does not resolve to address 27.156.49.90: Name or service not known
Aug  5 17:09:03 kozue postfix/smtpd[27019]: connect from unknown[27.156.49.90]
Aug  5 17:09:03 kozue dovecot: auth: Debug: Loading modules from directory: /usr/lib64/dovecot/auth
Aug  5 17:09:03 kozue dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_mysql.so
Aug  5 17:09:03 kozue dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so
Aug  5 17:09:03 kozue dovecot: auth: Debug: Read auth token secret from /var/run/dovecot/auth-token-secret.dat
Aug  5 17:09:03 kozue dovecot: auth: Debug: auth client connected (pid=0)
Aug  5 17:09:12 kozue dovecot: auth: Debug: client in: AUTH     1       PLAIN   service=smtp    nologin lip=108.61.200.231      rip=27.156.49.90        secured resp=<hidden>
Aug  5 17:09:12 kozue dovecot: auth-worker(27025): Debug: Loading modules from directory: /usr/lib64/dovecot/auth
Aug  5 17:09:12 kozue dovecot: auth-worker(27025): Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_mysql.so
Aug  5 17:09:12 kozue dovecot: auth-worker(27025): Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so
Aug  5 17:09:12 kozue dovecot: auth-worker(27025): Debug: pam(tp,27.156.49.90): lookup service=dovecot
Aug  5 17:09:12 kozue dovecot: auth-worker(27025): Debug: pam(tp,27.156.49.90): #1/1 style=1 msg=Password:
Aug  5 17:09:13 kozue dovecot: auth-worker(27025): pam(tp,27.156.49.90): pam_authenticate() failed: Authentication failure (password mismatch?)
Aug  5 17:09:13 kozue dovecot: auth-worker(27025): Debug: sql(tp,27.156.49.90): query: SELECT email AS user, password AS password FROM virtual_users WHERE email = 'tp'
Aug  5 17:09:13 kozue dovecot: auth: Debug: client passdb out: OK       1       user=tp
Aug  5 17:09:13 kozue postfix/smtpd[27019]: 825F810229D: client=unknown[27.156.49.90], sasl_method=PLAIN, sasl_username=tp
Aug  5 17:09:13 kozue postfix/cleanup[27030]: 825F810229D: message-id=<53E0911C.2000602>
Aug  5 17:09:13 kozue postfix/qmgr[25916]: 825F810229D: from=<tp>, size=513, nrcpt=1 (queue active)
Aug  5 17:09:13 kozue dovecot: lmtp(27031): Debug: none: root=, index=, indexpvt=, control=, inbox=, alt=
Aug  5 17:09:13 kozue dovecot: lmtp(27031): Connect from local
Aug  5 17:09:13 kozue dovecot: auth: Debug: master in: USER     1       tp  service=lmtp
Aug  5 17:09:13 kozue dovecot: auth-worker(27025): Debug: passwd(tp): lookup
Aug  5 17:09:13 kozue dovecot: auth-worker(27025): passwd(tp): unknown user
Aug  5 17:09:13 kozue dovecot: auth: Debug: password(tp): passdb doesn't support credential lookups
Aug  5 17:09:13 kozue dovecot: auth-worker(27025): Debug: sql(tp): query: SELECT email AS user, password AS password FROM virtual_users WHERE email = 'tp'
Aug  5 17:09:13 kozue dovecot: auth: Fatal: master: service(auth): child 27023 killed with signal 11 (core dumps disabled)
Aug  5 17:09:13 kozue dovecot: lmtp(27031): Error: userdb lookup(tp): Disconnected unexpectedly
Aug  5 17:09:13 kozue postfix/lmtp[26995]: 825F810229D: to=<tp>, relay=kozue.example.org[private/dovecot-lmtp], delay=0.24, delays=0.24/0/0/0, dsn=4.3.0, status=deferred (host kozue.example.org[private/dovecot-lmtp] said: 451 4.3.0 <tp> Internal error occurred. Refer to server log for more information. (in reply to RCPT TO command))
Aug  5 17:09:13 kozue dovecot: lmtp(27031): Disconnect from local: Successful quit
Aug  5 17:09:13 kozue postfix/smtpd[27019]: disconnect from unknown[27.156.49.90]

Comment 3 Michal Hlavinka 2020-06-10 10:24:31 UTC
The Red Hat Enterprise Linux 7 life cycle has entered Maintenance Support Phase, which means that only qualified Critical and Important Security errata advisories (RHSAs) and some Urgent Priority Bug Fix errata advisories (RHBAs) will be released as they become available.  Unfortunately, this issue was not selected to be included in Red Hat Enterprise Linux 7. We will now close this issue. We recommend moving the request to Red Hat Enterprise Linux 8 if applicable.

See the Red Hat Enterprise Linux Life Cycle for more details:
https://access.redhat.com/support/policy/updates/errata/


Note You need to log in before you can comment on or make changes to this bug.