On Mon, Sep 21, 2026 at 02:50:09AM +0200, Vincent Lefevre wrote: > On 2026-09-20 09:23:48 +0200, Marco Moock wrote: > > Am 19.09.26 um 23:40 schrieb Vincent Lefevre: > > > In any case, I don't see why IPv6 support in the kernel matters > > > for nscd. I don't see any reason why nscd would do an IPv6 > > > connection; that's useless for name resolving. > > > > nscd is only a cache for libc, it does not do any lookups. The sources > > defined in nsswitch.conf do the lookups. > > This is incorrect: when nscd is running, nsswitch.conf is not > used at all by the program that calls getaddrinfo! There's only > a connection to "/var/run/nscd/socket".
I think Marco meant that nscd itself looks into nsswitch (which it does, at least the man page states it). Its clients (i.e. the libc in the applications) consequently doesn't have to. [I admit that one can read Marco's statement both ways] Cheers -- t
signature.asc
Description: PGP signature

