Date: Sun, 29 May 2005 14:48:46 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Boris Samorodov <bsam@ipt.ru> Cc: freebsd-stable@freebsd.org Subject: Re: minor change to /etc/rc.d/var Message-ID: <20050529214846.GA28653@odin.ac.hmc.edu> In-Reply-To: <20554958@srv.sem.ipt.ru> References: <20554958@srv.sem.ipt.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--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+--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050529214846.GA28653>