[Bug 286260] NFS: sharing only for IPv6 subnet fails

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286260

--- Comment #5 from Rick Macklem <[email protected]> ---
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.