On the removal of nscd from Fedora, and the future of nscd.

Joseph Myers joseph@codesourcery.com
Mon Feb 28 23:09:27 GMT 2022


On Mon, 28 Feb 2022, DJ Delorie via Libc-alpha wrote:

> If we want a separate service and API for name lookups, outside of
> glibc, let's discuss.  But recently we've been moving such services
> *into* glibc, to better support statically linked applications.  I don't
> see an easy path forward here.

We've moved certain NSS modules such as nss_files and nss_dns into libc.  
I think there is a reasonable case that all NSS modules that aren't in 
libc (especially those not shipped with glibc) should be loaded only in a 
separate process, not in the main process doing the name lookup, to avoid 
issues with name lookup loading more or less arbitrary libraries into the 
process doing the lookup.

That doesn't say what the interface should look like to any separate 
process that handles doing lookup with not-in-libc NSS modules.

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list