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: b...@freebsd.org
          Reporter: d8zne...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to