/lib/security/pam_cap.so: undefined symbol: pam_get_item
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libcap2 (Debian) |
Fix Released
|
Unknown
|
|||
libcap2 (Ubuntu) |
Fix Released
|
High
|
Serge Hallyn | ||
Lucid |
Fix Released
|
High
|
Unassigned | ||
Maverick |
Invalid
|
Undecided
|
Unassigned | ||
Natty |
Won't Fix
|
High
|
Unassigned |
Bug Description
=======
SRU Justification:
1. Impact: imap fails
2. Development fix: add -lpam to LDLIBS
3. Stable fix: same as development fix
4. Test case:
a. install libcap2-bin (apt-get install libcap2-bin)
b. add an entry to /etc/security/
c. install courier-imap-ssl and mutt (apt-get install courier-imap-ssl mutt)
d. as user serge, create '~/Maildir' (maildirmake ~/Maildir)
d. reboot, and try to connect with mutt to localhost
mutt -f imap://
e. without the fix, /var/log/auth.log will have an entry like:
Nov 8 13:12:46 l-libcap authdaemond: PAM unable to dlopen(
Nov 8 13:12:46 l-libcap authdaemond: PAM adding faulty module: /lib/security/
5. Regression potential: this is in use in debian and oneiric/precise, and should cause no issues.
=======
Binary package hint: libcap2
Each time i login (using evolution) on my IMAP server (courier-imap-ssl), the server auth.log shows:
May 19 11:50:35 srv authdaemond: PAM unable to dlopen(
May 19 11:50:35 srv authdaemond: PAM adding faulty module: /lib/security/
it happens only at LOGIN time.
May 19 11:50:35 srv imapd-ssl: LOGIN, user=foo, ip=[::ffff:
$ objdump -T /lib/security/
0000000000000000 D *UND* 0000000000000000 pam_get_item
both the client & server are running Lucid and are up-to-date.
ii libcap2-bin 1:2.17-2ubuntu1
ii courier-authdaemon 0.62.4-1
ii courier-imap-ssl 4.6.0-2.1ubuntu1
ii courier-ssl 0.63.0-2.1ubuntu1
tags: | added: patch |
Changed in libcap2 (Ubuntu): | |
status: | Incomplete → Fix Released |
Changed in libcap2 (Debian): | |
status: | Unknown → Fix Released |
description: | updated |
description: | updated |
description: | updated |
Changed in libcap2 (Ubuntu Maverick): | |
status: | New → Invalid |
Changed in libcap2 (Ubuntu Lucid): | |
status: | New → In Progress |
Changed in libcap2 (Ubuntu Natty): | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in libcap2 (Ubuntu Lucid): | |
importance: | Undecided → High |
I had a similar problem and fixed it by rebuilding libcap2 with the attached patch.