From owner-cvs-all@FreeBSD.ORG Tue May 22 15:35:58 2007 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC65616A479; Tue, 22 May 2007 15:35:58 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id CCB6813C468; Tue, 22 May 2007 15:35:57 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id E94A7456AB; Tue, 22 May 2007 17:35:54 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 41E3C45685; Tue, 22 May 2007 17:35:47 +0200 (CEST) Date: Tue, 22 May 2007 17:35:42 +0200 From: Pawel Jakub Dawidek To: Eric Anderson Message-ID: <20070522153542.GE1135@garage.freebsd.pl> 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="BZaMRJmqxGScZ8Mx" Content-Disposition: inline In-Reply-To: <4652E88A.9080500@freebsd.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 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-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2007 15:35:58 -0000 --BZaMRJmqxGScZ8Mx Content-Type: text/plain; charset=iso-8859-2 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 it= can't write to it's hostid file. I've been ignoring it, but I wanted to a= t least mention it. >=20 > Shall I file a PR? It is probably not worth PR, because it's current. We should probably just remove the warning. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --BZaMRJmqxGScZ8Mx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGUw3OForvXbEpPzQRAnMMAKDsb/x/z41gH30OTQsvzomvIsPXawCfVNC2 9kuPr+1DR+UQ5BX0pjMNZRE= =g5de -----END PGP SIGNATURE----- --BZaMRJmqxGScZ8Mx--