Date: Wed, 12 May 2021 00:13:22 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 251906] autofs: automounter always only adds to /var/db/mounttab but never clears it Message-ID: <bug-251906-227-3NJNZaYJec@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-251906-227@https.bugs.freebsd.org/bugzilla/> References: <bug-251906-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251906 --- Comment #36 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D6fa8a157705debef78e86de378f8a9292= 07d62dc commit 6fa8a157705debef78e86de378f8a929207d62dc Author: Robert Wing <rew@FreeBSD.org> AuthorDate: 2021-02-17 07:51:38 +0000 Commit: Robert Wing <rew@FreeBSD.org> CommitDate: 2021-05-11 23:48:44 +0000 autofs: best effort to maintain mounttab and mountdtab When an automounted filesystem is successfully unmounted, call rpc.umntall(8) with the -k flag. rpc.umntall(8) is used to clean up /var/db/mounttab on the client and /var/db/mountdtab on the server. This is only useful for NFSv3. PR: 251906 Reviewed by: trasz Differential Revision: https://reviews.freebsd.org/D27801 (cherry picked from commit 88e531f38c2412bf030f4e8dd563efc45b70797e) usr.sbin/autofs/automount.c | 2 ++ usr.sbin/autofs/autounmountd.c | 3 ++- usr.sbin/autofs/common.c | 13 +++++++++++++ usr.sbin/autofs/common.h | 1 + 4 files changed, 18 insertions(+), 1 deletion(-) --=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-251906-227-3NJNZaYJec>