From owner-freebsd-stable@FreeBSD.ORG Sat May 28 21:22:51 2005 Return-Path: X-Original-To: freebsd-stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB32316A41C for ; Sat, 28 May 2005 21:22:51 +0000 (GMT) (envelope-from bsam@bsam.ru) Received: from bsam.ru (gw.ipt.ru [80.253.10.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 958F043D48 for ; Sat, 28 May 2005 21:22:51 +0000 (GMT) (envelope-from bsam@bsam.ru) Received: from bsam by bsam.ru with local (Exim 4.30; FreeBSD) id 1Dc8mn-000Ca8-17; Sun, 29 May 2005 01:24:01 +0400 To: freebsd-stable@FreeBSD.org From: Boris Samorodov Date: Sun, 29 May 2005 01:24:01 +0400 Message-ID: <20554958@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: "Boris B. Samorodov" Cc: Subject: minor change to /etc/rc.d/var X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 May 2005 21:22:52 -0000 --=-=-= Hi! What do you think in minor change to /etc/rc.d/var: --=-=-= Content-Disposition: inline; filename=var.patch Content-Description: patch to /etc/rc.d/var --- 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 --=-=-= 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: ----- varmfs="YES" populate_var="YES" ----- 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. WBR -- bsam --=-=-=--