Public bug reported:

See description, analysis and solution in
https://askubuntu.com/questions/1504233/shutdown-hangs-for-one-minute-
while-umounting-nfs-shares-on-kubuntu-22-04

Summary: 
I have two NFS-shares mounted via fstab. On shutdown or reboot, unmounting at 
least one of them always hangs until the one minute timeout. Before shutdown, 
they can be unmounted (manually) without any problem.

Solution is to insert 
After=rpc-statd.service
in nfs-client.target. 

Reportedly, this also affects 24.04

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: nfs-common 1:2.6.1-1ubuntu1.2
ProcVersionSignature: Ubuntu 5.15.0-124.134-generic 5.15.163
Uname: Linux 5.15.0-124-generic x86_64
.etc.request-key.d.id_resolver.conf: create     id_resolver     *       *       
/usr/sbin/nfsidmap -t 600 %k %d
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Fri Nov  1 09:38:36 2024
InstallationDate: Installed on 2019-01-23 (2108 days ago)
InstallationMedia: Kubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 
(20180725)
NFSMounts:
 /mnt/homes   storage:/nfs/home    nfs    
rw,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.2.10,mountvers=3,mountport=809,mountproto=udp,local_lock=none,addr=192.168.2.10
 /mnt/storage storage:/nfs/storage nfs    
rw,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.2.10,mountvers=3,mountport=809,mountproto=udp,local_lock=none,addr=192.168.2.10
NFSv4Mounts:
 
SourcePackage: nfs-utils
SyslogNFS:
 Nov 01 08:19:29 zweier rpc.statd[1649]: Version 2.6.1 starting
 Nov 01 08:19:29 zweier rpc.statd[1649]: Flags: TI-RPC
 Nov 01 08:19:29 zweier rpc.statd[1649]: Failed to create listener xprt (statd, 
1, udp6)
 Nov 01 08:19:29 zweier rpc.statd[1649]: Failed to create listener xprt (statd, 
1, tcp6)
UpgradeStatus: Upgraded to jammy on 2022-12-18 (683 days ago)

** Affects: nfs-utils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2086252

Title:
  Shutdown hangs on NFS umount: rpc-statd stops to early

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/2086252/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to