This script references variables beloning to the nfsd and zfs services,
therefore it needs to load their configurations.
MFC after: 1 week
Differential D51473
rc.d: Fix mountd service script. des on Jul 23 2025, 11:55 AM. Authored by Tags None Referenced Files
Subscribers
Details This script references variables beloning to the nfsd and zfs services, MFC after: 1 week
Diff Detail
Event TimelineComment Actions I don't see a problem with this, but I am not conversant All the variables used by mountd are set in /usr/src/libexec/rc/rc.conf I'll resign as a reviewer, since I do not know the rc script stuff, although Comment Actions load_rc_config always loads /etc/rc.conf but does not load everything under /etc/rc.conf.d, so if one service needs to inspect configuration variables belonging to another, it must explicitly load_rc_config that other service in case those variables are set in /etc/rc.conf.d. |