This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] [BZ #20900] Call __res_vinit if _PATH_RESCONF is changed
- From: Joseph Myers <joseph at codesourcery dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 1 Dec 2016 19:02:06 +0000
- Subject: Re: [PATCH] [BZ #20900] Call __res_vinit if _PATH_RESCONF is changed
- Authentication-results: sourceware.org; auth=none
- References: <20161201185641.GA15507@intel.com>
On Thu, 1 Dec 2016, H.J. Lu wrote:
> The content of _PATH_RESCONF may change over time with DHCP.
> __res_maybe_init should check if _PATH_RESCONF is changed. Otherwise
> a long-running process will get wrong DNS results if _PATH_RESCONF is
> changed by DHCP.
>
> Any comments?
This bug is either a duplicate of or related to bug 984. There are
various patches out there, e.g. one in Debian, and also claims of problems
with those patches.
--
Joseph S. Myers
joseph@codesourcery.com