This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nscd/2098] New: Nscd malfunctioning when LDAP server not available
- From: "redhat at flyn dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 28 Dec 2005 04:04:06 -0000
- Subject: [Bug nscd/2098] New: Nscd malfunctioning when LDAP server not available
- Reply-to: sourceware-bugzilla at sourceware dot org
I am using glibc/nscd 2.3.90 on Fedora Raw Hide.
The attached program may be used to test nscd. Here are some scenarios:
1. Execute program while attached to network/LDAP server, the nscd daemon
says:
31166: handle_request: request received (Version = 2) from PID 3904
31166: GETFDGR
31166: provide access to FD 9, for group
31166: handle_request: request received (Version = 2) from PID 3904
31166: INITGROUPS (mike)
31166: Haven't found "mike" in group cache!
2. Wait 10 seconds, the nscd daemon says (why removed so soon?):
31166: remove INITGROUPS entry "mike"
3. Disconnect from network, execute program, nscd daemon says:
31166: handle_request: request received (Version = 2) from PID 5090
31166: GETFDGR
31166: provide access to FD 9, for group
31166: handle_request: request received (Version = 2) from PID 5090
31166: INITGROUPS (mike)
31166: Haven't found "mike" in group cache!
Program hangs, trying to make LDAP request.
NOTE: if you disconnect and execute program before "remove INITGROUPS" message,
then program will NOT hang.
I also see this message printed by the daemon: "31166: short write in
addinitgroupsX: Broken pipe."
See also https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173019.
--
Summary: Nscd malfunctioning when LDAP server not available
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: nscd
AssignedTo: drepper at redhat dot com
ReportedBy: redhat at flyn dot org
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=2098
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.