svn commit: r224674 - head/etc

Peter Wemm peter at wemm.org
Tue Aug 9 17:05:00 UTC 2011


On Tue, Aug 9, 2011 at 12:30 AM, Doug Barton <dougb at freebsd.org> 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.  The 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.

-- 
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at 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


More information about the svn-src-all mailing list