Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 2021 15:48:57 +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-Lnq0BEgbOW@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 #35 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D88e531f38c2412bf030f4e8dd563efc45=
b70797e

commit 88e531f38c2412bf030f4e8dd563efc45b70797e
Author:     Robert Wing <rew@FreeBSD.org>
AuthorDate: 2021-02-17 07:51:38 +0000
Commit:     Robert Wing <rew@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(-)

--=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-Lnq0BEgbOW>