Date: Tue, 9 Aug 2011 00:07:52 -0700 From: Peter Wemm <peter@wemm.org> To: "Simon L. B. Nielsen" <simon@nitro.dk> Cc: svn-src-head@freebsd.org, re@freebsd.org, svn-src-all@freebsd.org, Doug Barton <dougb@freebsd.org>, src-committers@freebsd.org Subject: Re: svn commit: r224674 - head/etc Message-ID: <CAGE5yCoU7HM7bR-7u9z1=LcTSo=q4Ls1abpY%2BGVMXob%2BZWvwfA@mail.gmail.com> In-Reply-To: <9DDF0DAB-9056-45CD-8CE9-81B621A35B13@nitro.dk> References: <201108060916.p769Gr4A043462@svn.freebsd.org> <9DDF0DAB-9056-45CD-8CE9-81B621A35B13@nitro.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 7, 2011 at 1:51 PM, Simon L. B. Nielsen <simon@nitro.dk> wrote: > > On 6 Aug 2011, at 11:16, Doug Barton wrote: > >> Author: dougb >> Date: Sat Aug =A06 09:16:53 2011 >> New Revision: 224674 >> URL: http://svn.freebsd.org/changeset/base/224674 >> >> Log: >> =A0Rather than edit the nsswitch.conf file based on ${MK_NIS} =3D=3D "no= " >> =A0comment out the NIS _compat options by default, but leave them in >> =A0the file for the convenience of users who want to enable it. >> >> =A0Update the comment in the file accordingly. > > This disables NIS by default which is rather surprising considering there= has been no prior (which I have been able to find) discussion of this. > > At the _VERY_ least people need to be warned about this loudly. Unless yo= u can show this really helps non-NIS users this is IMO a bad idea. 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. The compiled-in routines check if nis activated with one syscall and immediately return NS_UNAVAIL if nis is not configured. As much as I hate NIS, I suspect this will break every single user of NIS who happens to also use mergemaster -U. --=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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGE5yCoU7HM7bR-7u9z1=LcTSo=q4Ls1abpY%2BGVMXob%2BZWvwfA>