Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2025 23:38:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 286260] NFS: sharing only for IPv6 subnet fails
Message-ID:  <bug-286260-7501-Xd2igCp0QK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-286260-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-286260-7501@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=286260

--- Comment #5 from Rick Macklem <rmacklem@FreeBSD.org> ---
Ok. I have found a bug in mountd that might have
resulting in what you observed.
When mountd receives a SIGHUP, it is supposed to
update the exports in the kernel with all entries
that have changed.

However, the function that checks to see if an
entry has changed (called compare_export()) checks
for things like different export flags.
It does not check to see that the address/family
has changed. This is a bug.
--> Adding the IPv4 export changed it so that it
    got updated.

If I am correct, restarting mountd would have fixed
the case where the IPv6 entry was the only one but
reloading mountd would not have.

I will come up with a patch for this bug.

If you can reproduce the failed case, please try
restarting mountd and let us know if that fixes
the problem.

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


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-286260-7501-Xd2igCp0QK>