[Bug 286260] NFS: sharing only for IPv6 subnet fails
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 26 Apr 2025 23:38:16 UTC
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.