Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2007 12:29:38 -0500
From:      Brooks Davis <brooks@FreeBSD.org>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, Brooks Davis <brooks@FreeBSD.org>, "Ralf S. Engelschall" <rse@FreeBSD.org>, cvs-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: cvs commit: src/etc/rc.d hostid
Message-ID:  <20070522172938.GA77003@lor.one-eyed-alien.net>
In-Reply-To: <46532337.2040302@FreeBSD.org>
References:  <200705211144.l4LBiEHY098477@repoman.freebsd.org> <200705211422.47842.jkim@FreeBSD.org> <86r6pagfic.fsf@dwp.des.no> <200705211548.46790.jkim@FreeBSD.org> <86myzygda0.fsf@dwp.des.no> <4652E88A.9080500@freebsd.org> <20070522152753.GB75668@lor.one-eyed-alien.net> <46532337.2040302@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--HcAYCG3uE/tztfnV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 22, 2007 at 10:07:03AM -0700, Doug Barton wrote:
>  Brooks Davis wrote:
>=20
> > I'm not sure that's a bug.  Perhaps if it's too noisy.  There are
> > several other places that require a writable etc or require certain
> > files to be linked to somewhere writable.  Adding a note to the
> > diskless(8) manpage might be useful.
>=20
>  I had a concern about this too, but didn't want to seem like I was loadi=
ng=20
>  up on this poor little script. :)  Would this be better placed in /var/d=
b?

I think /etc or /boot is the right place and IIRC pjd had a reason why
/etc was right.  The problem with /var/db is that's it's not available
until fairly late in the boot and hostid is needed for non-root disks.

It's worth remembering that in the normal course of operation,
/etc/hostid is written once per system lifetime.  Making diskless users
set it up by hand or as a symlink to somewhere writable seems harmless
to me.

-- Brooks

--HcAYCG3uE/tztfnV
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFGUyiCXY6L6fI4GtQRAqC4AKDWOg8JfWSz5JmjDp0onDNR5xiEpwCg4ABn
iitehuX4gPICE1LokvAisrw=
=/lSk
-----END PGP SIGNATURE-----

--HcAYCG3uE/tztfnV--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070522172938.GA77003>