Bug 423986 - NFS shares become inaccessible after timeout.
Summary: NFS shares become inaccessible after timeout.
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-08 07:38 UTC by Bassam
Modified: 2021-02-05 14:37 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bassam 2020-07-08 07:38:14 UTC
SUMMARY
My NFS shares automount via /etc/fstab and work perfectly everywhere and they are accessible via dolphin. However, after the time out period, I am unable to access those shares via dolphin. The only way to make those shares available in dolphin is to cd into the shares directory in terminal. The shares  then become available immediately in terminal and when you check go back to dolphin, they become accessible there as well.

STEPS TO REPRODUCE
1. Mount the shares. (/etc/fstab entry found below)
2. Wait till the timeout period is reached (which is set in /etc/fstab).
3. The shares will no longer be accessible in dolphin. 

OBSERVED RESULT
The error reads: "An error occurred while accessing '/path/to/share', the system responded: mount.nfs: failed to prepare mount: Operation not permitted"

EXPECTED RESULT
The share should be accessible in dolphin the way it was before the timeout period was reached.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.6.16-1-Manjaro
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
/etc/fstab entry:
192.168.1.100:/home/pi /mnt/pi_home nfs _netdev,noauto,x-systemd.automount,noatime,x-systemd.mount-timeout=6,x-systemd.idle-timeout=1min 0 0
Comment 1 Jonathan Marten 2021-02-05 14:37:55 UTC
Accessing NFS mounted folders (which includes automounted ones) is handled in the same way as local file access as far as KIO is concerned; that is, by the 'file' ioslave.  The NFS ioslave in kio-extras provides access to remote NFS servers (without the need for mounting) via URLs starting "nfs://host/".  Reassigning to frameworks-kio/general.