From owner-freebsd-current@FreeBSD.ORG Fri Aug 22 11:14:22 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC2C716A4C2; Fri, 22 Aug 2003 11:14:22 -0700 (PDT) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7C9B44003; Fri, 22 Aug 2003 11:14:19 -0700 (PDT) (envelope-from kientzle@acm.org) Received: from acm.org (big.x.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id h7MIEIsE041950; Fri, 22 Aug 2003 11:14:19 -0700 (PDT) (envelope-from kientzle@acm.org) Message-ID: <3F465DA5.2040002@acm.org> Date: Fri, 22 Aug 2003 11:15:01 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ruslan Ermilov References: <3F459D29.2030009@mindspring.com> <20030822054454.GA51245@sunbay.com> <3F462B60.50405@mindspring.com> <20030822155140.GA46768@sunbay.com> In-Reply-To: <20030822155140.GA46768@sunbay.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: "Jacques A. Vidrine" cc: Richard Coleman cc: freebsd-current@freebsd.org Subject: Re: status of nsswitch.conf in current? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kientzle@acm.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2003 18:14:23 -0000 Ruslan Ermilov wrote: > On Fri, Aug 22, 2003 at 10:40:32AM -0400, Richard Coleman wrote: > >>I saw that. I guess my question is whether a default nsswitch.conf file >>will be checked into /etc and /usr/share/examples/etc, or whether it >>will be left empty? I would expect that if this capability was working, >>that a default nsswitch.conf would be checked into /etc. >> > > Adding /etc/nsswitch.conf with the default settings would just slow the > things down. For the same reason, we don't provide /etc/resolv.conf by > default. Adding src/share/examples/etc/nsswitch.conf and installing it > in /usr/share/examples/etc/ is a good idea. On the other hand, having /etc/nsswitch.conf.example would a) Advertise the existence of nsswitch capabilities in an obvious place where people new to FreeBSD would see it. b) Document the defaults. c) Not slow anything down. d) Serve as an example and template for people just getting started.. Having additional examples in /usr/share/examples/etc would also be nice. (Ideally, with a comment in /etc/nsswitch.conf.example pointing to those additional examples.) I do find Ruslan's logic here a bit peculiar, though. Having an nsswitch.conf with the default settings should only "slow things down" by the time needed to parse the file. Well-written parsers are very fast. One could equally well argue that people for whom this level of performance really matters should read the release notes. ;-) Tim