Bug 693414

Summary: automount[13533]: open_lookup:90: cannot open lookup module ldap (/usr/lib64/autofs/lookup_ldap.so: undefined symbol: ERR_remove_state)
Product: Red Hat Enterprise Linux 6 Reporter: Jason <bugzilla>
Component: autofsAssignee: Ian Kent <ikent>
Status: CLOSED CURRENTRELEASE QA Contact: yanfu,wang <yanwang>
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: ikent, jeder, mrkfact
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: autofs-5.0.5-30 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-16 02:22:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jason 2011-04-04 15:16:40 UTC
Description of problem:
I'm  hitting this error in the RHEL6.1 Beta
Apr  4 10:43:44 xxxxxx automount[13533]: open_lookup:90: cannot open lookup module ldap (/usr/lib64/autofs/lookup_ldap.so: undefined symbol: ERR_remove_state)

This is critical for us, as we cannot use autofs in the rhel 6.1 beta.

Version-Release number of selected component (if applicable):
autofs-5.0.5-29.el6.x86_64

How reproducible:
Every time autofs starts.

Steps to Reproduce:
1. Make sure autofs uses ldap in /etc/nsswitch.conf
   automount:  files ldap
2. Start /etc/init.d/autofs
3. LDAP mounts don't work, and message in syslog
  
Actual results:
No ldap mounts

Expected results:
LDAP mounts work

Additional info:
Looks like this was fixed for fc14, but maybe not for rhel6?
https://bugzilla.redhat.com/show_bug.cgi?id=615386

This Gentoo discussion seems to suggest that adding -lssl to the autofs compile fixes the issue.
http://bugs.gentoo.org/302377

When I downgrade to 5.0.5-23.el6_0.1, I get this different error:
Apr  4 11:12:29 uxlabn automount[14202]: open_lookup:90: cannot open lookup module ldap (/usr/lib64/autofs/lookup_ldap.so: undefined symbol: krb5_get_init_creds_keytab)

Only after downgrading openldap from 2.4.23-12.el6 (el6.1) to 2.4.19-15.el6_0.2 (el6.0) does autofs (all versions) work.

Comment 2 RHEL Program Management 2011-04-04 15:20:45 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 3 Ian Kent 2011-04-04 16:29:30 UTC
This originally wasn't a problem in 6.0 but has arisen in 6.1.
It's fixed in revision 30 but we just missed the compose so I
hope that it will be included in the next snapshot.

Lets wait and see if it is.

In the meantime revision 30 can be found at:
http://people.redhat.com/~ikent/autofs-5.0.5-30.el6

If you need other supported archs just ask.

Comment 4 Jason 2011-04-05 14:16:45 UTC
Revision 30 works great.  You're the man, Ian.

  Updating   : openldap-2.4.23-12.el6.x86_64
warning: /etc/openldap/ldap.conf created as /etc/openldap/ldap.conf.rpmnew
  Updating   : 1:autofs-5.0.5-30.el6.x86_64
  Cleanup    : 1:autofs-5.0.5-29.el6.x86_64
  Cleanup    : openldap-2.4.19-15.el6_0.2.x86_64

Comment 9 Ian Kent 2011-05-16 02:22:22 UTC
This problem was identified during QA. It occurred due to
updates to other components and has been resolved in bug
579963 (although this might not be a widely viewable bug)
that also depended on LDAP. I'm closing this a CURRENTRELEASE
since it seems to be the closest reason but am also setting
the "Fixed in Version" so people will know what they are
looking for.