This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
/etc/resolv.conf caching bug fixed in glibc
- From: "Jack O'Connor" <oconnor663 at gmail dot com>
- To: newlib at sourceware dot org
- Date: Thu, 3 Aug 2017 11:33:01 -0400
- Subject: /etc/resolv.conf caching bug fixed in glibc
- Authentication-results: sourceware.org; auth=none
Glibc just released version 2.26, with the following note under "major
new features":
> The GNU C Library will now detect when /etc/resolv.conf has been modified and reload the changed configuration.
That refers to this bug: https://sourceware.org/bugzilla/show_bug.cgi?id=984
And this patch:
https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=aef16cc8a4c670036d45590877d411a97f01e0cd;hp=a1c4eb8794e789b5055d7ceb13b2b3231abf5e26
I had hit this bug in the past
(https://github.com/golang/go/issues/21083), and I was eyeballing
other libc implementations to see if they might have the same problem.
It looks like Newlib might? But this was my first time looking at the
source, and I wanted to ask the experts :)
- Jack