[Bug 251906] autofs: automounter always only adds to /var/db/mounttab but never clears it

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 12 15:48:57 UTC 2021


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

--- Comment #35 from commit-hook at FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=88e531f38c2412bf030f4e8dd563efc45b70797e

commit 88e531f38c2412bf030f4e8dd563efc45b70797e
Author:     Robert Wing <rew at FreeBSD.org>
AuthorDate: 2021-02-17 07:51:38 +0000
Commit:     Robert Wing <rew at FreeBSD.org>
CommitDate: 2021-03-12 15:41:55 +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

 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(-)

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


More information about the freebsd-bugs mailing list