Subject: Re: re-reading /etc/resolv.conf on change
To: Martin Husemann <firstname.lastname@example.org>
From: Perry E. Metzger <email@example.com>
Date: 12/30/2003 09:46:07
Martin Husemann <firstname.lastname@example.org> writes:
> How about stat'ing /etc/resolv.conf, opening the kqueue on it *and* /etc
> always and checking the stat values on every kqueue event?
> Seems like that way all failure modes discussed so far could be easily
resolv.conf is symlinked to /etc/sites/foo/resolv.conf
someone does an mv /etc/sites/foo/resolv.conf to
/etc/sites/foo/resolv.conf.new and then creates a new
I don't think that would be detected.
Perry E. Metzger email@example.com