Bug 234246 - /usr/sbin/groupadd hangs with LDAP+TLS
Summary: /usr/sbin/groupadd hangs with LDAP+TLS
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: openldap
Version: 5.0
Hardware: i686
OS: Linux
medium
high
Target Milestone: ---
: ---
Assignee: Jan Safranek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-03-27 20:18 UTC by Norman Elton
Modified: 2008-01-15 11:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-15 11:43:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Norman Elton 2007-03-27 20:18:28 UTC
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[3166]: nss_ldap: reconnecting to LDAP server (sleeping 4 seconds)...
rheltest groupadd[3166]: nss_ldap: reconnecting to LDAP server (sleeping 8
seconds)...

If I disable TLS and use straight LDAP, everything works as expected.

Any ideas?


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jan Safranek 2007-05-29 08:58:43 UTC
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
report header?

Comment 2 Jan Safranek 2008-01-15 11:43:39 UTC
Closing due to reporter inactivity. Feel free to reopen the bug if you are able
to reproduce it and provide the required information.


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