DragonFly users List (threaded) for 2007-06
DragonFly BSD
DragonFly users List (threaded) for 2007-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: host.conf or nsswitch.conf?


From: Thomas Nikolajsen <thomas.nikolajsen@xxxxxxx>
Date: Sat, 30 Jun 2007 01:06:41 +0200

On Fri, 26 Jan 2007 17:05:45 Jeremy C. Reed writes:
>I see a DragonFly system has both host.conf and nsswitch.conf man pages.
>gethostbyname(3) man page lists /etc/host.conf under files.
>The pam_unix(8) and newbtconf(8) man pages refer to nsswitch.conf(5).
>But I can't see where nsswitch.conf is used in any DragonFly code.
>Why is the nsswitch.conf man page installed?
>Or am I overlooking something? :)
>
>  Jeremy C. Reed

I think you are right that nsswitch.conf.5 should be dropped,
or be implemented: nsswitch.conf file name currently not in libc.

Origin in dfly:
http://leaf.dragonflybsd.org/mailarchive/commits/2003-07/msg00502.html

But: "We will not be going the nsswitch way.":
http://leaf.dragonflybsd.org/mailarchive/commits/2004-09/msg00264.html

 -thomas
PS: Found this googling for nsswitch.conf in the dfly archives.
Was looking for a way to not use remote dns-servers for tcpdump. Didn't succeed.
Was guessing at ability to set environ variable to control nameserver pr process.




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]