[Bug 251395] rc.d/nfsclient: hangs at shutdown because of non-empty /var/db/mounttab
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Nov 26 07:10:22 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251395
Bug ID: 251395
Summary: rc.d/nfsclient: hangs at shutdown because of non-empty
/var/db/mounttab
Product: Base System
Version: 12.2-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: d8zNeCFG at aon.at
Scenario:
- multiple machines using NFS and autofs (automount)
- some of them running FreeBSD 12.2, the others 12.1
- at the end of the day they are shut down simultaneously; before that, it is
ensured that all NFS mounts are unmounted (using automount -u and checking via
"df -t nfs")
Result:
- The 12.2 machine hangs in the rc.d/nfsclient script with repeated error
messages indicating it cannot contact the remote portmapper: the remote
portmapper does not reply anymore because that machine is also going down.
- This happens because the file /var/db/mounttab is non-empty and still
indicates the remote NFS servers despite the fact that all NFS mounts have
already been unmounted.
Expected result:
- After the last NFS mount from a server has been unmounted, the corresponding
entry in /var/db/mounttab, and the complete file if empty, should be removed.
- This should enable rc.d/nfsclient to skip any further NFS server notification
during shutdown.
-- Martin
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list