mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
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
|
||
|---|---|---|
| .. | ||
| exports.5 | ||
| Makefile | ||
| Makefile.depend | ||
| mountd.8 | ||
| mountd.c | ||
| netgroup.5 | ||
| pathnames.h | ||