minor change to /etc/rc.d/var

Boris Samorodov bsam at ipt.ru
Sat May 28 14:22:52 PDT 2005


What do you think in minor change to /etc/rc.d/var:

-------------- next part --------------
--- var.orig	Sun May 29 01:05:47 2005
+++ var	Sun May 29 01:06:12 2005
@@ -28,7 +28,7 @@
 # PROVIDE: var
-# REQUIRE: mountcritlocal
+# REQUIRE: mountcritremote
 . /etc/rc.subr
-------------- next part --------------

If there are no NFS mountpoints at /etc/fstab, both variants are
equal. But if there are some and the host (which is booting) is a
diskless station, the change is critical. I was success in booting the
diskless station (from server with FreeBSD-5.4-RELEASE-p1) only after
applying this patch.

I do have at rc.conf.local:

But the diskless station didn't boot. It stopped booting with multiple
errors, which showed that /var was not mounted. Only the patch did the
right thing.


More information about the freebsd-stable mailing list