review of nfsd rc.d script patch

From: Rick Macklem <rmacklem_at_uoguelph.ca>
Date: Fri, 15 Jun 2018 20:53:52 +0000
Hi,

For the pNFS service MDS machine, the nfsd can't be started until all nfs mounts
in /etc/fstab are done.
I think that adding "mountcritremote" to the "# REQUIRE:" line is sufficient to do this?

I don't think delaying the startup of the nfsd daemon until after any NFS mounts
are done will do any harm, but if others think it would be a POLA violation,
I could make this dependent on the pNFS service being enabled.
Does anyone think this would cause a POLA violation?

If someone familiar with the rc scripts could review this little patch, it would be
appreciated:
--- nfsd.old	2018-06-15 16:07:54.279786000 -0400
+++ nfsd	2018-06-15 16:08:43.934603000 -0400
_at__at_ -4,7 +4,7 _at__at_
 #
 
 # PROVIDE: nfsd
-# REQUIRE: mountd hostname gssd nfsuserd
+# REQUIRE: mountcritremote mountd hostname gssd nfsuserd
 # KEYWORD: nojail shutdown
 
 . /etc/rc.subr

Thanks, rick
Received on Fri Jun 15 2018 - 18:53:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:16 UTC