/etc/rc.d/mountcritremote

Sean Bruno seanbru at yahoo-inc.com
Tue Aug 31 16:16:47 UTC 2010


An issue in testing came up where we were trying to mount NFS
directories from the same server, i.e. a machine trying to mount an NFS
dir on itself.

Because mountcritremote runs before the NFS server is up, we modified
the REQUIRES section and appended nfsd.  

I *think* that this is a silly implementation, however it does make
sense that this change be made.  Comments?

Index: mountcritremote
===================================================================
--- mountcritremote	(revision 212057)
+++ mountcritremote	(working copy)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: mountcritremote
-# REQUIRE: NETWORKING FILESYSTEMS cleanvar ipsec
+# REQUIRE: NETWORKING FILESYSTEMS cleanvar ipsec nfsd
 # KEYWORD: nojail
 
 . /etc/rc.subr




More information about the freebsd-hackers mailing list