This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nscd/2098] New: Nscd malfunctioning when LDAP server not available


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]