[PATCH] Handle missing nsswitch.conf, fallback files,dns

Phil Pennock gnupg-devel at spodhuis.org
Thu Jan 19 07:30:27 CET 2017


On 2017-01-19 at 01:21 -0500, Phil Pennock wrote:
> From: Phil Pennock <phil at pennock-tech.com>
> 
> Signed-off-by: Phil Pennock <phil at pennock-tech.com>
> ---
>  dirmngr/dns-stuff.c | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)

The bug-report was delayed for greylisting by gnupg.org servers but was
eventually accepted, but appears to have gotten stuck; hopefully it'll
make it through at some point?

Short version: macOS doesn't include /etc/nsswitch.conf and GnuPG's
dirmngr is hard-erroring when that file is missing, such that no DNS
operations succeed and --recv-key returns ENOENT type errors to the
caller.



More information about the Gnupg-devel mailing list