public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
* nsswitch.conf - db service for hosts
@ 2022-07-23 22:18 Peter Polgar
  2022-07-24 14:07 ` Carlos O'Donell
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Polgar @ 2022-07-23 22:18 UTC (permalink / raw)
  To: libc-help

Hi,

I am trying to use the db service in nsswitch.conf. I couldn't make it work
so I decided to get some hints from the source code.
A comment in test-netdb.c:310 says that "db is not implemented for hosts".
Also seen in the nss/Makefile:128 that "hosts" is filtered out from the
list of dbs.
Do these mean that db service is not implemented for hosts?
If it is implemented how can I find the path where nsswitch is looking for
the db?

I am on Ubuntu 20.04 LTS with GLIBC 2.31-0ubuntu9.9, libnss-db/focal,now
2.2.3pre1-6build6

Thanks!
Peter

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-29 16:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-23 22:18 nsswitch.conf - db service for hosts Peter Polgar
2022-07-24 14:07 ` Carlos O'Donell
2022-07-24 16:56   ` Peter Polgar
2022-07-29 16:23     ` Carlos O'Donell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).