https://bugs.kde.org/show_bug.cgi?id=431173

            Bug ID: 431173
           Summary: Entering directory containing NFS share tries to
                    connect six times before time out
           Product: krusader
           Version: 2.7.2
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: krusader-bugs-n...@kde.org
          Reporter: radek.machu...@gmail.com
                CC: krusader-bugs-n...@kde.org
  Target Milestone: ---

SUMMARY:
When entering directory containing NFS share (that is not accessible at the
moment) automounted with systemd, Krusader tries to 'access' that share six
times instead of just once leading to six time longer dead time (due to six
timeouts). When entering the same directory with shell or Dolphin, for
instance, it tries just once (as excepted).


STEPS TO REPRODUCE
1. Create NFS share in /etc/fstab (but make sure it can not be accessed) like:
nfs_server:/remote/path/nfs   /path/to/mountpoint/nfs   nfs 
 
rw,user,noauto,async,noatime,_netdev,x-systemd.automount,x-systemd.mount-timeout=10s,retry=1,x-systemd.idle-timeout=10min,x-systemd.requires=network-online.target
  0   0
2. Monitor the process either with dmesg or journalctl
3. Run the krusader and try to open directory containing the nfs share
mountpoint ('/path/to/mountpoint' in this case)


OBSERVED RESULT
(in this case the mountpoint is /home/rad/_mount/odroid_nfs)
# dmesg -w
[54160.295668] NFS4: Couldn't follow remote path
[54170.545401] NFS4: Couldn't follow remote path
[54180.795579] NFS4: Couldn't follow remote path
[54191.044696] NFS4: Couldn't follow remote path
[54201.294051] NFS4: Couldn't follow remote path
[54211.543779] NFS4: Couldn't follow remote path

# journalctl -f
led 05 11:12:07 book systemd[1]: home-rad-_mount-odroid_nfs.automount: Got
automount request for /home/rad/_mount/odroid_nfs, triggered by 27714
(krusader)
led 05 11:12:07 book systemd[1]: Mounting /home/rad/_mount/odroid_nfs...
led 05 11:12:17 book systemd[1]: home-rad-_mount-odroid_nfs.mount: Mounting
timed out. Terminating.
led 05 11:12:17 book systemd[1]: home-rad-_mount-odroid_nfs.mount: Mount
process exited, code=killed, status=15/TERM
led 05 11:12:17 book systemd[1]: home-rad-_mount-odroid_nfs.mount: Failed with
result 'timeout'.
led 05 11:12:17 book kernel: NFS4: Couldn't follow remote path
led 05 11:12:17 book systemd[1]: Failed to mount /home/rad/_mount/odroid_nfs.
led 05 11:12:17 book systemd[1]: home-rad-_mount-odroid_nfs.automount: Got
automount request for /home/rad/_mount/odroid_nfs, triggered by 27714
(krusader)
led 05 11:12:17 book systemd[1]: Mounting /home/rad/_mount/odroid_nfs...
led 05 11:12:27 book systemd[1]: home-rad-_mount-odroid_nfs.mount: Mounting
timed out. Terminating.
led 05 11:12:27 book systemd[1]: home-rad-_mount-odroid_nfs.mount: Mount
process exited, code=killed, status=15/TERM
led 05 11:12:27 book systemd[1]: home-rad-_mount-odroid_nfs.mount: Failed with
result 'timeout'.
led 05 11:12:27 book kernel: NFS4: Couldn't follow remote path
led 05 11:12:27 book systemd[1]: Failed to mount /home/rad/_mount/odroid_nfs.
led 05 11:12:27 book systemd[1]: home-rad-_mount-odroid_nfs.automount: Got
automount request for /home/rad/_mount/odroid_nfs, triggered by 27714
(krusader)
led 05 11:12:28 book systemd[1]: Mounting /home/rad/_mount/odroid_nfs...
led 05 11:12:38 book systemd[1]: home-rad-_mount-odroid_nfs.mount: Mounting
timed out. Terminating.
led 05 11:12:38 book systemd[1]: home-rad-_mount-odroid_nfs.mount: Mount
process exited, code=killed, status=15/TERM
led 05 11:12:38 book systemd[1]: home-rad-_mount-odroid_nfs.mount: Failed with
result 'timeout'.
led 05 11:12:38 book systemd[1]: home-rad-_mount-odroid_nfs.mount: Unit process
28210 (mount.nfs) remains running after unit stopped.
led 05 11:12:38 book kernel: NFS4: Couldn't follow remote path
led 05 11:12:38 book systemd[1]: Failed to mount /home/rad/_mount/odroid_nfs.
led 05 11:12:38 book systemd[1]: home-rad-_mount-odroid_nfs.automount: Got
automount request for /home/rad/_mount/odroid_nfs, triggered by 27714
(krusader)
led 05 11:12:38 book systemd[1]: Mounting /home/rad/_mount/odroid_nfs...
led 05 11:12:48 book systemd[1]: home-rad-_mount-odroid_nfs.mount: Mounting
timed out. Terminating.
led 05 11:12:48 book systemd[1]: home-rad-_mount-odroid_nfs.mount: Mount
process exited, code=killed, status=15/TERM
led 05 11:12:48 book systemd[1]: home-rad-_mount-odroid_nfs.mount: Failed with
result 'timeout'.
led 05 11:12:48 book kernel: NFS4: Couldn't follow remote path
led 05 11:12:48 book systemd[1]: Failed to mount /home/rad/_mount/odroid_nfs.
led 05 11:12:48 book systemd[1]: home-rad-_mount-odroid_nfs.automount: Got
automount request for /home/rad/_mount/odroid_nfs, triggered by 27714
(krusader)
led 05 11:12:48 book systemd[1]: Mounting /home/rad/_mount/odroid_nfs...
led 05 11:12:58 book systemd[1]: home-rad-_mount-odroid_nfs.mount: Mounting
timed out. Terminating.
led 05 11:12:58 book systemd[1]: home-rad-_mount-odroid_nfs.mount: Mount
process exited, code=killed, status=15/TERM
led 05 11:12:58 book systemd[1]: home-rad-_mount-odroid_nfs.mount: Failed with
result 'timeout'.
led 05 11:12:58 book systemd[1]: Failed to mount /home/rad/_mount/odroid_nfs.
led 05 11:12:58 book systemd[1]: home-rad-_mount-odroid_nfs.automount: Got
automount request for /home/rad/_mount/odroid_nfs, triggered by 27714
(krusader)
led 05 11:12:58 book kernel: NFS4: Couldn't follow remote path
led 05 11:12:58 book systemd[1]: Mounting /home/rad/_mount/odroid_nfs...
led 05 11:13:08 book systemd[1]: home-rad-_mount-odroid_nfs.mount: Mounting
timed out. Terminating.
led 05 11:13:08 book systemd[1]: home-rad-_mount-odroid_nfs.mount: Mount
process exited, code=killed, status=15/TERM
led 05 11:13:08 book systemd[1]: home-rad-_mount-odroid_nfs.mount: Failed with
result 'timeout'.
led 05 11:13:08 book systemd[1]: Failed to mount /home/rad/_mount/odroid_nfs.
led 05 11:13:08 book kernel: NFS4: Couldn't follow remote path


EXPECTED RESULT
I would expect the same messages, but just one set as the krusader would
'return' after the first try the same way how the Doplhin does (for instance).


SOFTWARE/OS VERSIONS
Distro and version: ArchLinux
KDE Frameworks 5.77.0
Qt 5.15.2 (built against 5.15.2)
The xcb windowing system
Krusader Version 2.7.2 "Peace of Mind"


ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to