Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Nov 2020 07:10:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 251395] rc.d/nfsclient: hangs at shutdown because of non-empty /var/db/mounttab
Message-ID:  <bug-251395-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251395

            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@FreeBSD.org
          Reporter: d8zNeCFG@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 correspond=
ing
entry in /var/db/mounttab, and the complete file if empty, should be remove=
d.
- This should enable rc.d/nfsclient to skip any further NFS server notifica=
tion
during shutdown.

-- Martin

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251395-227>