Home GnuPG
Diffusion GnuPG b5f356e9fba2

dirmngr: Re-init libdns resolver on towel change of resolv.conf

Description

dirmngr: Re-init libdns resolver on towel change of resolv.conf

* dirmngr/dns-stuff.c: Include sys/stat.h.
(RESOLV_CONF_NAME): New macro to replace a string.
(resolv_conf_changed_p): New.
(libdns_init): Call new function
(libdns_res_open): Ditto.

Don't panic. This is a simple change
to avoid complicated if-up.d hooks to reload resolv.conf.

  • Suggested-by: Stefan Bühler <stbuehler@web.de>
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 25 2017, 11:33 AM
Parents
rG525f2c482abb: agent: Make digest algorithms for ssh fingerprints configurable.
Branches
Unknown
Tags
Unknown