[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Python and /etc/resolv.conf changes
- From: Colin Walters <walters verbum org>
- To: Development discussions related to Fedora <fedora-devel-list redhat com>
- Subject: Re: Python and /etc/resolv.conf changes
- Date: Wed, 21 Jan 2009 09:26:42 -0500
On Tue, Jan 20, 2009 at 8:19 PM, Colin Walters <walters verbum org> wrote:
>
> Both Debian/Ubuntu
> (http://patches.ubuntu.com/g/glibc/extracted/any/local-dynamic-resolvconf.diff)
> and OpenSUSE (http://download.opensuse.org/distribution/11.0/repo/src-oss/suse/src/glibc-2.8-14.1.src.rpm,
> resolv.dynamic.diff) ship a patch to glibc which stats() resolv.conf.
> We do not.
Thinking about this a bit more this morning on the shuttle, there's a
strong argument that this is a glibc bug, and that the stat() approach
is a correct fix, if not necessarily the most ideal one. That
argument is simply that glibc is caching data without a mechanism for
invalidation; and a cache without invalidation is always a bug.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]