From owner-cvs-src@FreeBSD.ORG Tue May 22 17:29:40 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9EEFB16A421; Tue, 22 May 2007 17:29:40 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (grnl-static-02-0046.dsl.iowatelecom.net [69.66.56.110]) by mx1.freebsd.org (Postfix) with ESMTP id 2E30113C4B0; Tue, 22 May 2007 17:29:40 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.8/8.13.8) with ESMTP id l4MHTc1b077393; Tue, 22 May 2007 12:29:39 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.8/8.13.8/Submit) id l4MHTct5077392; Tue, 22 May 2007 12:29:38 -0500 (CDT) (envelope-from brooks) Date: Tue, 22 May 2007 12:29:38 -0500 From: Brooks Davis To: Doug Barton Message-ID: <20070522172938.GA77003@lor.one-eyed-alien.net> 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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline In-Reply-To: <46532337.2040302@FreeBSD.org> User-Agent: Mutt/1.5.15 (2007-04-06) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Tue, 22 May 2007 12:29:39 -0500 (CDT) Cc: cvs-src@FreeBSD.org, Brooks Davis , "Ralf S. Engelschall" , cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d hostid X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2007 17:29:40 -0000 --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--