Unfortunate dynamic linking for everything

Tim Kientzle kientzle at acm.org
Fri Nov 21 16:14:34 PST 2003


Garrett Wollman wrote:
> <<On Fri, 21 Nov 2003 15:38:49 -0800, Tim Kientzle <kientzle at acm.org> said:
>>There have been a lot of proposed solutions:
>>  * Rewrite NSS to not require dlopen().
>>  * Rewrite dlopen() to not require dynamic linking.
>>  * Don't support NSS in /bin/sh.
>>  * Change the default script interpreter for rc and such.
>>  * Make dynamic linking faster.
> 
> You forgot:
> 
> 	* Allow statically-linked programs to use dynamic NSS modules
> 	  by forking a (dynamically-linked) resolver process when
> 	  needed.
> 
> This leads to a related, but widely disparaged option:
> 
> 	* Have a persistent NSS caching daemon with an RPC interface
> 	  that all programs can access for NSS lookups.  You might
> 	  call such a program `nscd'.  (Might as well be honest about
> 	  it.)

Jacques seems to be of the opinion that the current
'nscd' is not up to the task.  He would know better than I.

Tim



More information about the freebsd-current mailing list