From owner-cvs-src@FreeBSD.ORG Tue May 22 15:57:36 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 1C9B716A469; Tue, 22 May 2007 15:57:36 +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 A538F13C480; Tue, 22 May 2007 15:57:35 +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 l4MFRrNI076295; Tue, 22 May 2007 10:27:53 -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 l4MFRrbN076294; Tue, 22 May 2007 10:27:53 -0500 (CDT) (envelope-from brooks) Date: Tue, 22 May 2007 10:27:53 -0500 From: Brooks Davis To: Eric Anderson Message-ID: <20070522152753.GB75668@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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kORqDWCi7qDJ0mEj" Content-Disposition: inline In-Reply-To: <4652E88A.9080500@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 10:27:53 -0500 (CDT) Cc: Doug Barton , "Ralf S. Engelschall" , cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, src-committers@FreeBSD.org, Dag-Erling Sm?rgrav , Jung-uk Kim 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 15:57:36 -0000 --kORqDWCi7qDJ0mEj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 22, 2007 at 07:56:42AM -0500, Eric Anderson wrote: > On 05/21/07 14:57, Dag-Erling Sm?rgrav wrote: > > Jung-uk Kim writes: > >> 'smbios.system.uuid' is exported from loader, not from kernel. And it > >> already checks two things, i.e., all zero's and all 0xff's, which are > >> the most common and 'useless' UUIDs. If the SMBIOS has one of these, > >> it is not set at all. > > Is it safe to assume that smbios.system.uuid returns a string of the > > correct form (the correct amount of hex digits with hyphens in the right > > places) which is neither all-bits-zero nor all-bits-one? In that case, > > there is no need to check anything in etc/rc.d/hostid. > > DES >=20 > [picking random related post to reply to] >=20 > The hostid script also is cranky when used on a diskless host, because i= t=20 > can't write to it's hostid file. I've been ignoring it, but I wanted to= at=20 > least mention it. >=20 > Shall I file a PR? 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. -- Brooks --kORqDWCi7qDJ0mEj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGUwv4XY6L6fI4GtQRAncLAKCG3UEQmJqO9Zv2OieiRmuk9C5F9ACfQzu5 /EovC49mZAQm+cI6Lkd8f2I= =t5Ng -----END PGP SIGNATURE----- --kORqDWCi7qDJ0mEj--