Description of problem: Current rawhide, autofs is unable to load ldap module: automount[3035]: open_lookup:90: cannot open lookup module ldap (/usr/lib64/autofs/lookup_ldap.so: undefined symbol: krb5_get_init_creds_keytab) Version-Release number of selected component (if applicable): autofs-5.0.5-27.fc14.x86_64 This system was yum upgraded from F13. # ldd /usr/lib64/autofs/lookup_ldap.so linux-vdso.so.1 => (0x00007fffb7776000) libldap-2.4.so.2 => /usr/lib64/libldap-2.4.so.2 (0x00007fa0db154000) liblber-2.4.so.2 => /usr/lib64/liblber-2.4.so.2 (0x00007fa0daf46000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fa0dad2a000) libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007fa0dab10000) libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007fa0da7be000) libz.so.1 => /lib64/libz.so.1 (0x00007fa0da5a6000) libm.so.6 => /lib64/libm.so.6 (0x00007fa0da322000) libc.so.6 => /lib64/libc.so.6 (0x00007fa0d9f8d000) libssl3.so => /usr/lib64/libssl3.so (0x00007fa0d9d58000) libsmime3.so => /usr/lib64/libsmime3.so (0x00007fa0d9b2d000) libnss3.so => /usr/lib64/libnss3.so (0x00007fa0d97f3000) libnssutil3.so => /usr/lib64/libnssutil3.so (0x00007fa0d95d3000) libplds4.so => /lib64/libplds4.so (0x00007fa0d93d0000) libplc4.so => /lib64/libplc4.so (0x00007fa0d91cc000) libnspr4.so => /lib64/libnspr4.so (0x00007fa0d8f8e000) libdl.so.2 => /lib64/libdl.so.2 (0x00007fa0d8d8a000) libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fa0d8b53000) /lib64/ld-linux-x86-64.so.2 (0x00007fa0db5cd000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fa0d8934000) libfreebl3.so => /lib64/libfreebl3.so (0x00007fa0d86d7000) Looks like it is no longer linked against the krb libraries.
(In reply to comment #0) > Description of problem: > > Current rawhide, autofs is unable to load ldap module: > > automount[3035]: open_lookup:90: cannot open lookup module ldap > (/usr/lib64/autofs/lookup_ldap.so: undefined symbol: > krb5_get_init_creds_keytab) > > Version-Release number of selected component (if applicable): > autofs-5.0.5-27.fc14.x86_64 > > This system was yum upgraded from F13. > > # ldd /usr/lib64/autofs/lookup_ldap.so > linux-vdso.so.1 => (0x00007fffb7776000) > libldap-2.4.so.2 => /usr/lib64/libldap-2.4.so.2 (0x00007fa0db154000) > liblber-2.4.so.2 => /usr/lib64/liblber-2.4.so.2 (0x00007fa0daf46000) > libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fa0dad2a000) > libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007fa0dab10000) > libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007fa0da7be000) > libz.so.1 => /lib64/libz.so.1 (0x00007fa0da5a6000) > libm.so.6 => /lib64/libm.so.6 (0x00007fa0da322000) > libc.so.6 => /lib64/libc.so.6 (0x00007fa0d9f8d000) > libssl3.so => /usr/lib64/libssl3.so (0x00007fa0d9d58000) > libsmime3.so => /usr/lib64/libsmime3.so (0x00007fa0d9b2d000) > libnss3.so => /usr/lib64/libnss3.so (0x00007fa0d97f3000) > libnssutil3.so => /usr/lib64/libnssutil3.so (0x00007fa0d95d3000) > libplds4.so => /lib64/libplds4.so (0x00007fa0d93d0000) > libplc4.so => /lib64/libplc4.so (0x00007fa0d91cc000) > libnspr4.so => /lib64/libnspr4.so (0x00007fa0d8f8e000) > libdl.so.2 => /lib64/libdl.so.2 (0x00007fa0d8d8a000) > libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fa0d8b53000) > /lib64/ld-linux-x86-64.so.2 (0x00007fa0db5cd000) > libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fa0d8934000) > libfreebl3.so => /lib64/libfreebl3.so (0x00007fa0d86d7000) > > Looks like it is no longer linked against the krb libraries. If you grab the source rpm and build it does that make the problem go away? It may just need a rebuild to account for library changes. But maybe there have been library changes that need a bit more work, that would be good to know.
Rebuild doesn't help. modules/cyrus-sasl.c calls krb5 functions so the lookup_ldap module which uses it needs to link against krb5 lib. Perhaps some other library that autofs links against used to link against krb5 but no longer does. Not sure why you don't get warnings at link time. Also, the init script is broken for restarts. I think this fixes: diff -u -r1.1 autofs-5.0.5-make-redhat-init-script-more-lsb-compliant.patch --- autofs-5.0.5-make-redhat-init-script-more-lsb-compliant.patch 24 May 2010 03:01:04 -0000 1.1 +++ autofs-5.0.5-make-redhat-init-script-more-lsb-compliant.patch 19 Jul 2010 17:47:14 -0000 @@ -61,7 +61,7 @@ function restart() { - stop -+ status > /dev/null 2>&1 ++ status -p /var/run/autofs.pid -l autofs $prog > /dev/null 2>&1 + if [ $? -eq 0 ]; then + stop + fi
(In reply to comment #2) > Rebuild doesn't help. > > modules/cyrus-sasl.c calls krb5 functions so the lookup_ldap module which uses > it needs to link against krb5 lib. Perhaps some other library that autofs > links against used to link against krb5 but no longer does. Not sure why you > don't get warnings at link time. Maybe it was the SASL libs, I'll add the krb5 lib. > > Also, the init script is broken for restarts. I think this fixes: Yeah, I saw that but hadn't had a chance to look into it. Thanks for your effort. Ian
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle. Changing version to '14'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
This really makes Fedora 14 unusable for me. Can we get this fixed soon so I can do more testing with it? Thanks!
(In reply to comment #5) > This really makes Fedora 14 unusable for me. Can we get this fixed soon so I > can do more testing with it? Thanks! Sorry, will do. Ian
I've done a Rawhide build which may resolve this issue. It should be OK on Fedora 14 so could you try it out please. If it does the trick I'll apply the chnages to F-14 proper. The build can be found at: http://kojipkgs.fedoraproject.org/packages/autofs/5.0.5/28.fc15
Now getting: open_lookup:90: cannot open lookup module ldap (/usr/lib64/autofs/lookup_ldap.so: undefined symbol: ERR_remove_state)
(In reply to comment #8) > Now getting: > > open_lookup:90: cannot open lookup module ldap > (/usr/lib64/autofs/lookup_ldap.so: undefined symbol: ERR_remove_state) Right, this call should never have been needed and it appears it isn't needed now. I'll get rid of it.
So lets try this again with: http://kojipkgs.fedoraproject.org/packages/autofs/5.0.5/29.fc15
That did the trick. Thanks!
(In reply to comment #11) > That did the trick. Thanks! OK, I'll apply those changes to F14 as well but lets give it a few days to ensure the removal of ERR_remove_state() is not going to be a problem.
I've added this to the F14 blocker list even though we have a solution since we do need to delay committing this for a few days of testing. I also need to ensure that I can commit the change and that it will be included in the release Bill?
You'd need to build it and submit a bodhi update, and follow the update's process to make sure it gets enough testing and gets pushed final. But that shouldn't be a big issue.
autofs-5.0.5-29.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/autofs-5.0.5-29.fc14
autofs-5.0.5-29.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update autofs'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/autofs-5.0.5-29.fc14
autofs-5.0.5-29.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.