From owner-freebsd-rc@FreeBSD.ORG Sun Mar 14 16:15:15 2004 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC1A916A4CF for ; Sun, 14 Mar 2004 16:15:15 -0800 (PST) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BE7643D2F for ; Sun, 14 Mar 2004 16:15:15 -0800 (PST) (envelope-from DougB@freebsd.org) Received: from freebsd.org (c-24-130-160-161.we.client2.attbi.com[24.130.160.161]) by comcast.net (sccrmhc13) with ESMTP id <200403150015140160036g8fe> (Authid: domain_name_tsar); Mon, 15 Mar 2004 00:15:14 +0000 Message-ID: <4054F591.9010907@FreeBSD.org> Date: Sun, 14 Mar 2004 16:15:13 -0800 From: Doug Barton Organization: http://www.freebsd.org/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040307 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-rc@FreeBSD.org X-Enigmail-Version: 0.83.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: test X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to /etc/rc.d design and implementation. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 00:15:16 -0000 -- This .signature sanitized for your protection From owner-freebsd-rc@FreeBSD.ORG Fri Mar 19 11:31:06 2004 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C37416A4CE; Fri, 19 Mar 2004 11:31:06 -0800 (PST) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61E6F43D1F; Fri, 19 Mar 2004 11:31:06 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.3) with ESMTP id i2JJV3Za019538; Fri, 19 Mar 2004 11:31:03 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i2JJV32Q019537; Fri, 19 Mar 2004 11:31:03 -0800 Date: Fri, 19 Mar 2004 11:31:03 -0800 From: Brooks Davis To: freebsd-rc@freebsd.org Message-ID: <20040319193102.GB30414@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1LKvkjL3sHcu1TtY" Content-Disposition: inline User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: nectar@freebsd.org Subject: rc.d/nisdomain problem X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to /etc/rc.d design and implementation. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2004 19:31:06 -0000 --1LKvkjL3sHcu1TtY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable The nisdomain script doesn't properly handle the case where nsswitch.conf exists, but does not have a hosts: entry in it. I'm not sure exactly how I got into this situation, but I ended up with a machine where my nsswitch.conf looked like: passwd: files nis group: files nis That caused host.conf to look like: # Auto-generated from nsswitch.conf, do not edit That caused 4.x binaries to fail in hard to diagnose ways. (The program said the host was unknown, but every test program I ran found it just fine.) I finaly figured it out when I ran truss on the binary and realized it was dying after reading /etc/host.conf. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --1LKvkjL3sHcu1TtY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAW0p1XY6L6fI4GtQRAoBwAKCjqR3roItuzZifjEH/Md5Q1W5JdgCgrUlk xLnWGTx3tQn4E2RkrvtmCMk= =4uRR -----END PGP SIGNATURE----- --1LKvkjL3sHcu1TtY--