Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Aug 2005 11:54:54 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        arch@freebsd.org
Subject:   Re: [CFR] reflect resolv.conf update to running application
Message-ID:  <20050821115454.55441a64@Magellan.Leidinger.net>
In-Reply-To: <20050821003536.P14178@fledge.watson.org>
References:  <ygefyt4yiaz.wl%ume@mahoroba.org> <20050821003536.P14178@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 21 Aug 2005 00:37:56 +0100 (BST)
Robert Watson <rwatson@freebsd.org> wrote:

> (2) By reading the configuration file more frequently and more quickly
>      after a change, we increase the chances of a race condition in which
>      the resolve reads a partially written resolv.conf file during an
>      update.  Does this happen in practice?  I've always been very leery of
>      re-reading configuration files automatically based on a time-stamp, as
>      updates to files are not atomic at all.

Can kqueue be used instead of polling?

Bye,
Alexander.

-- 
   "One world, one web, one program"  -- Microsoft promotional ad
         "Ein Volk, ein Reich, ein Fuehrer"  -- Adolf Hitler

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050821115454.55441a64>