Red Hat Bugzilla – Bug 161185
Dropped connections causes bash to hang on nss lookups
Last modified: 2008-02-16 21:56:24 EST
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 192.168.46.2:57752 192.168.46.137:389 CLOSE_WAIT
are shown by netstat.
Version-Release number of selected component (if applicable):
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
bash hangs at step 6; 'strace' shows that it waits in a futex(2) syscalls.
bash expands 'foo' both in 4 and 6
nscd is NOT running; LDAP is not configured for TLS
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 ?
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.