From owner-svn-src-head@FreeBSD.ORG Tue Aug 9 17:05:00 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70035106566C; Tue, 9 Aug 2011 17:05:00 +0000 (UTC) (envelope-from peter@wemm.org) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id D7AE38FC14; Tue, 9 Aug 2011 17:04:59 +0000 (UTC) Received: by vws18 with SMTP id 18so229821vws.13 for ; Tue, 09 Aug 2011 10:04:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wemm.org; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=BfMMtCWpp5gLLpVgwFO6kZhcuMe07QDZyvA1mGn0NGY=; b=BIHsrMTzFTYYUShv5mw0kWOjCM6mYvIYmHUl9h+pKILxbHjhmi7oz7VWcyEm+JGPA4 zQqbKLZZXcdAbzOozhpHp0Lk5/rtdiaS7wWWQk8td94zHSd+bFsfV6+3YFlA84nNMkae wpAbHeTpqO9pUWLKvUBtYrqTUyGmRNo8zBHpE= MIME-Version: 1.0 Received: by 10.220.199.69 with SMTP id er5mr1960594vcb.238.1312909498710; Tue, 09 Aug 2011 10:04:58 -0700 (PDT) Received: by 10.220.93.75 with HTTP; Tue, 9 Aug 2011 10:04:58 -0700 (PDT) In-Reply-To: <4E40E20E.5050804@FreeBSD.org> References: <201108060916.p769Gr4A043462@svn.freebsd.org> <9DDF0DAB-9056-45CD-8CE9-81B621A35B13@nitro.dk> <4E40E20E.5050804@FreeBSD.org> Date: Tue, 9 Aug 2011 10:04:58 -0700 Message-ID: From: Peter Wemm To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, "Simon L. B. Nielsen" , svn-src-all@freebsd.org, src-committers@freebsd.org, re@freebsd.org Subject: Re: svn commit: r224674 - head/etc X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2011 17:05:00 -0000 On Tue, Aug 9, 2011 at 12:30 AM, Doug Barton wrote: > On 08/09/2011 00:07, Peter Wemm wrote: >> As much as I'd like to see NIS die a painful death, the answer to the >> question of helping non-NIS users is "not much" as things stand. >> >> The nis, files and dns components are statically compiled into libc. >> There is no expensive dlopen("/usr/lib/nss_nis.so") to optimize out, >> unlike some other systems. >> >> The runtime overheads are negligible. =A0The compiled-in routines check >> if nis activated with one syscall and immediately return NS_UNAVAIL if >> nis is not configured. > > None of this is relevant. The problem is that when you install the > system, by default it generates errors for every access to /etc/passwd, > /etc/group, or /etc/services. This is a silly way to ship a system. It does what?? The code is completely passive unless NIS is configured. --=20 Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell