Bug 149872

Summary: term locks on tab completion of ~<dirname>
Product: [Fedora] Fedora Reporter: Ron Carver <rcarver>
Component: xtermAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-07 15:30:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ron Carver 2005-02-28 15:36:43 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Description of problem:
Term locks on tab completion of ~ directories.  I have tried this in 
bash, tcsh, and zsh.  it locks every time.  

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

How reproducible:
Always

Steps to Reproduce:
1.open terminal window
2.type in ls ~rcar<tab>
3.it will not complete the dir name, if you hit tab again the term 
locks for 3-5 minutes.
    

Actual Results:  Locks terminal

Expected Results:  It should complete the <HOMEDIR> name of the person

Additional info:

Comment 1 Mike A. Harris 2005-03-06 16:49:47 UTC
Is the directory you're doing this in within an NFS mount?

Does your system use LDAP or NIS for username lookups?

Does this problem happen in other directories as well, including
both local and remote filesystems?

Please provide an strace of both xterm and the shell you're using
as gzipped file attachments.



Comment 2 Mike A. Harris 2005-03-06 16:54:44 UTC
Setting status to "NEEDINFO", awaiting response to above questions,
and strace of shell and xterm leading up to the problem.

Comment 3 Ron Carver 2005-03-07 14:06:52 UTC
Yes the home directories are over an NFS mount.

Yes our system uses LDAP for authentication

No, it does not do it on other directories either local or remote.  I
can tab complete the home directories if I do the full directory.. for
example "ls -la /people/rca<TAB> will get me /people/rcarver

I have not used strace before.  all I need to do is run strace xterm
>filename?  if not please provide more info on strace.

Comment 4 Mike A. Harris 2005-03-07 15:28:49 UTC
This is most likely an NFS issue then, and unlikely to be a bug
in xterm.  I strongly suspected an NFS timout issue or similar
because nobody else has reported such an issue, and I'm unable
to reproduce it locally.

I suggest that you troubleshoot your NFS/LDAP setup, because it is
most likely the cause of the problem.  You can use tcpdump
and strace/ltrace to troubleshoot the issue.  If you require
assistance, you can subscribe to the fedora-list
mailing list and post a message about the problem.

For information on using tcpdump, strace, and ltrace, please consult
the manual pages and other documentation included with the OS.



Comment 5 Mike A. Harris 2005-03-07 15:30:22 UTC
Setting status to NOTABUG (configuration or local technical problem,
not a bug.)