From owner-cvs-src@FreeBSD.ORG Tue Feb 13 05:29:04 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 423EB16A400; Tue, 13 Feb 2007 05:29:04 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id BAE1613C428; Tue, 13 Feb 2007 05:29:03 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.25]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id l1D5Sc3W011663 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 13 Feb 2007 15:58:38 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: cvs-all@freebsd.org Date: Tue, 13 Feb 2007 15:58:19 +1030 User-Agent: KMail/1.9.5 References: <200702101313.l1ADDX8m056868@repoman.freebsd.org> <20070212034438.GA42410@lor.one-eyed-alien.net> <20070212120908.GN13808@comp.chem.msu.su> In-Reply-To: <20070212120908.GN13808@comp.chem.msu.su> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1970242.hllLMYX34r"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200702131558.34590.doconnor@gsoft.com.au> X-Spam-Score: -1.36 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.57 on 203.31.81.10 Cc: Ceri Davies , Yar Tikhiy , Brooks Davis , src-committers@freebsd.org, cvs-src@freebsd.org Subject: Re: cvs commit: src/etc/rc.d hostname 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, 13 Feb 2007 05:29:04 -0000 --nextPart1970242.hllLMYX34r Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 12 February 2007 22:39, Yar Tikhiy wrote: > I have no idea how many Unix hosts allow their hostname to be set > via DHCP. I prefer to think that a Unix host is like a good ship: > it never changes its name while furrowing the network seas. A DHCP > assigned hostname better fits crippled hosts such as diskless > stations etc. My laptop's name changes depending which network it's on. (ie the domain=20 part). It would be nice if it would try to get the name specified in hostname via= =20 DHCP (for dynamic DNS setups), if that fails check what the DHCP server gav= e=20 it, failing that do a reverse lookup on the IP. Unfortunately it's not easy to do that because of how /etc/rc.d/* and dhcli= ent=20 interact.. Furthermore X (for one) gets really annoyed when you change=20 hostname.. (I can dream :) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1970242.hllLMYX34r Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBF0UyC5ZPcIHs/zowRAtebAJ0c983o39LLuMNZSmy/7dPIyCvJegCfcRXY jaoPo4uVQYGSscyUc6QEiRc= =0Iu8 -----END PGP SIGNATURE----- --nextPart1970242.hllLMYX34r--