Issue with stale resolv.conf state

John Levon levon@movementarian.org
Tue Mar 12 10:04:56 GMT 2024


On Tue, Mar 12, 2024 at 07:45:23AM +0100, Florian Weimer wrote:

> * Cristian Rodríguez:
> 
> > On Mon, Mar 11, 2024 at 7:51 AM Florian Weimer <fweimer@redhat.com> wrote:
> >>
> >> * John Levon:
> >>
> > cessing).
> >>
> >> Maybe we should just remove the automatic downgrade, basically not
> >> persist this across queries anymore.
> >
> > Yeah. +1. Users of those broken nameservers deserve at least noticing
> > they are wrong if such systems are really still around ..
> 
> I filed:
> 
>   Automatic activation of single-request options break resolv.conf reloading
>   <https://sourceware.org/bugzilla/show_bug.cgi?id=31476>

Probably a stupid suggestion, but would filtering out these specific flags in
the replicated_configuration_matches() comparison help? Then we'd still go down
the "stat() /etc/resolv.conf" path.

regards
john


More information about the Libc-alpha mailing list