From: Peter Polgar <ppeter.bme@gmail.com>
To: libc-help@sourceware.org
Subject: nsswitch.conf - db service for hosts
Date: Sun, 24 Jul 2022 00:18:57 +0200 [thread overview]
Message-ID: <CAF2BDb_GN9ikrS7uhHk03nh_42p8RZyO3TaEkRdwohhVoS8B1Q@mail.gmail.com> (raw)
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
next reply other threads:[~2022-07-23 22:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-23 22:18 Peter Polgar [this message]
2022-07-24 14:07 ` Carlos O'Donell
2022-07-24 16:56 ` Peter Polgar
2022-07-29 16:23 ` Carlos O'Donell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAF2BDb_GN9ikrS7uhHk03nh_42p8RZyO3TaEkRdwohhVoS8B1Q@mail.gmail.com \
--to=ppeter.bme@gmail.com \
--cc=libc-help@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).