Re: [CFR] reflect resolv.conf update to running application
From: Alexander Leidinger (Alexander_at_Leidinger.net)
Date: 08/21/05
- Previous message: Hajimu UMEMOTO: "Re: [CFR] reflect resolv.conf update to running application"
- In reply to: Robert Watson: "Re: [CFR] reflect resolv.conf update to running application"
- Next in thread: Hajimu UMEMOTO: "Re: [CFR] reflect resolv.conf update to running application"
- Reply: Hajimu UMEMOTO: "Re: [CFR] reflect resolv.conf update to running application"
- Reply: Poul-Henning Kamp: "Re: [CFR] reflect resolv.conf update to running application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 21 Aug 2005 11:54:54 +0200 To: Robert Watson <rwatson@freebsd.org>
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
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Hajimu UMEMOTO: "Re: [CFR] reflect resolv.conf update to running application"
- In reply to: Robert Watson: "Re: [CFR] reflect resolv.conf update to running application"
- Next in thread: Hajimu UMEMOTO: "Re: [CFR] reflect resolv.conf update to running application"
- Reply: Hajimu UMEMOTO: "Re: [CFR] reflect resolv.conf update to running application"
- Reply: Poul-Henning Kamp: "Re: [CFR] reflect resolv.conf update to running application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]