Home GnuPG
Diffusion GnuPG 88ade475c56a

dirmngr: Handle missing nsswitch.conf.
88ade475c56aUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

dirmngr: Handle missing nsswitch.conf.

* dirmngr/dns-stuff.c (libdns_init): Fallback to files,dns.

ChangeLog entry by wk.

This fixed the problem:

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.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
syscometAuthored on Jan 19 2017, 7:21 AM
wernerCommitted on Jan 23 2017, 11:02 AM
Parents
rGb3e7a112e0c3: dco: Register Phil Pennock.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG88ade475c56a: dirmngr: Handle missing nsswitch.conf. (authored by Phil Pennock <gnupg-devel@spodhuis.org>).Jan 23 2017, 11:02 AM