Bug 10421

Summary: ll (ls -l) has a too long timeout
Product: Mageia Reporter: Henri de Solages <fiable>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: doktor5000
Version: 3   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Henri de Solages 2013-06-04 09:00:49 CEST
Description of problem:
When there is an NFS problem (for instance a computer whose file system should be mounted by autofs but doesn't respond correctly) and one launches ll in the container folder (typically /mnt), it may take up to 2 minutes to answer. This is the probable cause of Dolphin's freezing in such a case.

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


How reproducible:
Very often.

Steps to Reproduce:
1. Configure NFS server on the remote computer.
2. Configure NFS client and autofs on your local computer to automatically mount a remote computing file system.
3. Put a symbolic link towards a file of the remote computer.
4. Shutdown the remote computer, or change its firewall configuration to forbid NFS requests.
5. Go to the folder containing the symbolic link.
6. ll

Expected behaviour: in interactive mode, I suggest that after 10 s, the user be asked to wait more or not, and if not, the available results be displayed.
In non-interactive mode, I suggest that after 10s the available data be released, and an error issued.


Reproducible: 

Steps to Reproduce:
Comment 1 Florian Hubold 2014-04-23 20:47:51 CEST
This behaviour is determined by the NFS export options on NFS server and NFS mount options on NFS client. If you want the timeout earlier, change your NFS options.

Status: NEW => RESOLVED
CC: (none) => doktor5000
Resolution: (none) => INVALID