Red Hat Bugzilla – Bug 234246
/usr/sbin/groupadd hangs with LDAP+TLS
Last modified: 2008-01-15 06:43:39 EST
Description of problem:
I have a fresh installation of RHEL5. Using authconfig, I've pointed the
installation at our LDAP server, which is running SSL/TLS. Everything gets
configured correctly, I can id/groups a particular user, login, etc.
When I go to install NTP (yum install ntp), the installation hangs. If I install
the RPM manually, with debugging enabled, I see that the process hangs at:
D: install: %pre(ntp-4.2.0.a.20040617-4.EL4.1.x86_64) execv(/bin/sh) pid 3165
+ /usr/sbin/groupadd -g 38 ntp
If I execute the groupadd command by hand, it works fine. Inside the RPM
installation; however, it's hanging. In /var/log/secure, I see...
groupadd: nss_ldap: reconnecting to LDAP server (sleeping 4 seconds)...
rheltest groupadd: nss_ldap: reconnecting to LDAP server (sleeping 8
If I disable TLS and use straight LDAP, everything works as expected.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
I am not able to reproduce this bug on my RHEL5 box. Could you please provide me
your ldap and nss configuration? Namely: /etc/ldap.conf, /etc/nsswitch.conf and
/etc/openldap/* (without your TLS certificates/keys, of course).
I am also a bit confused why your yum tries to install RHEL4 package
(ntp-4.2.0.a.20040617-4.EL4.1.x86_64) instead of the RHEL5 one
(ntp-4.2.2p1-5.el5). And you filled your HW is i686, but yum installs x86_64
package... Could you please double check your yum configuration or the bug
Closing due to reporter inactivity. Feel free to reopen the bug if you are able
to reproduce it and provide the required information.