Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 161185 - Dropped connections causes bash to hang on nss lookups
Dropped connections causes bash to hang on nss lookups
Product: Fedora
Classification: Fedora
Component: nss_ldap (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Depends On:
  Show dependency treegraph
Reported: 2005-06-21 03:18 EDT by Enrico Scholz
Modified: 2008-02-16 21:56 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-16 21:56:24 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Enrico Scholz 2005-06-21 03:18:19 EDT
Description of problem:

When having an LDAP server which drops connections after a certain timeout, bash
will hang at actions like 'cd ~foo<tab>'. At this time, a lot of connections like

| tcp 1  0          CLOSE_WAIT

are shown by netstat.

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


How reproducible:


Steps to Reproduce:
1. setup NSS to use LDAP as passwd backend
2. setup the LDAP server to timeout after a certain time (e.g. 'idletimeout 900')
3. start a bash
4. type in 'cd ~foo' and press TAB
5. wait some time...
6. type in 'cd ~foo' and press TAB

Actual results:

bash hangs at step 6; 'strace' shows that it waits in a futex(2) syscalls.

Expected results:

bash expands 'foo' both in 4 and 6

Additional info:

nscd is NOT running; LDAP is not configured for TLS
Comment 1 Christian Iseli 2007-01-22 06:40:14 EST
This report targets the FC3 or FC4 products, which have now been EOL'd.

Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?

Comment 2 petrosyan 2008-02-16 21:56:24 EST
Fedora Core 4 is no longer maintained.

Setting status to "INSUFFICIENT_DATA". If you can reproduce this bug in the
current Fedora release, please reopen this bug and assign it to the
corresponding Fedora version.

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