[CFR] reflect resolv.conf update to running application

Alexander Leidinger Alexander at Leidinger.net
Sun Aug 21 09:55:41 GMT 2005


On Sun, 21 Aug 2005 00:37:56 +0100 (BST)
Robert Watson <rwatson at 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


More information about the freebsd-arch mailing list