From owner-freebsd-stable@FreeBSD.ORG Sun May 29 21:48:47 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 B951416A41C for ; Sun, 29 May 2005 21:48:47 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E24543D1D for ; Sun, 29 May 2005 21:48:47 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j4TLmk7f031619; Sun, 29 May 2005 14:48:46 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j4TLmkoj031618; Sun, 29 May 2005 14:48:46 -0700 Date: Sun, 29 May 2005 14:48:46 -0700 From: Brooks Davis To: Boris Samorodov Message-ID: <20050529214846.GA28653@odin.ac.hmc.edu> References: <20554958@srv.sem.ipt.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline In-Reply-To: <20554958@srv.sem.ipt.ru> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-stable@freebsd.org Subject: Re: 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: Sun, 29 May 2005 21:48:47 -0000 --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 29, 2005 at 01:24:01AM +0400, Boris Samorodov wrote: > Hi! >=20 >=20 > What do you think in minor change to /etc/rc.d/var: >=20 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 @@ > # > =20 > # PROVIDE: var > -# REQUIRE: mountcritlocal > +# REQUIRE: mountcritremote > =20 > . /etc/rc.subr > =20 >=20 > 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. >=20 > I do have at rc.conf.local: > ----- > varmfs=3D"YES" = =20 > populate_var=3D"YES" = =20 > ----- >=20 > 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. /var should be mounted before NFS mounts are done if at all possible because it is where current mounts are recorded. There are changes in -current to remove all the /usr requirements except for mtree and to try to mount /usr if mtree is not yet available. A merge should happen before 5.5. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --mYCpIKhGyMATD0i+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCmji9XY6L6fI4GtQRAkqxAJ9568YJFQmM8G7kTf/W97JjcNU0aACgpAft hcViKMZV/mhaw3VECZ9zEmo= =X7WH -----END PGP SIGNATURE----- --mYCpIKhGyMATD0i+--