[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
Mon Dec 7 10:54:39 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251395

--- Comment #1 from Martin Birgmeier <d8zNeCFG at aon.at> ---
It seems that the problem with rc.d/nfsclient hanging is that the autounmountd
(part of autofs) does not remove entries from /var/db/mounttab, where the
regular umount command does.

In this way, even if there are no NFS mounts anymore, entries accumulate in
/var/db/mounttab.

It is possible to manually mount a remote dir (e.g., on /mnt) and then unmount
it again, and this will remove all the corresponding entries from
/var/db/mounttab.

Therefore, it seems that autounmountd needs to be fixed to remove entries from
/var/db/mounttab.

-- Martin

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


More information about the freebsd-rc mailing list