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

--- Comment #13 from commit-h...@freebsd.org ---
A commit in branch releng/14.3 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=2773c07181a772d5748e97bf4b26e7ffe4d444d7

commit 2773c07181a772d5748e97bf4b26e7ffe4d444d7
Author:     Rick Macklem <rmack...@freebsd.org>
AuthorDate: 2025-05-01 23:17:20 +0000
Commit:     Rick Macklem <rmack...@freebsd.org>
CommitDate: 2025-05-04 19:13:49 +0000

    mountd: Fix updating the network/host(s) for an exports line

    Mountd reloads the exports(5) file(s) when it receives a SIGHUP
    and then compares the old and new exports, updating any ones that
    have changed in the kernel.

    Without this patch, mountd failed to recognize that a network/host(s)
    had changed, if there was no other change to the exports line.
    As such, the change of network/hosts(s) did not take effect until
    the mountd daemon was (re)started.

    This patch fixes the code so that it checks for changes in
    the network/host(s) list for an exports line.

    PR:     286260
    Approved by:    re (cperciva)

    (cherry picked from commit 68daa781c1f12e1cfef768030eaff970c3d35543)
    (cherry picked from commit 37abcf06f2100eeca41dbd67f8ca8228903ce5e8)

 usr.sbin/mountd/mountd.c | 44 +++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 43 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to