Date: Wed, 30 Nov 2005 20:02:17 -0500 From: "Ian D. Leroux" <ian_leroux@fastmail.fm> To: freebsd-stable@freebsd.org Subject: Re: Restarting ntpd on address change Message-ID: <1133398937.66934.11.camel@localhost> In-Reply-To: <20051130105535.M796@border.crystalsphere.multiverse> References: <1133316076.522.28.camel@localhost> <20051130105535.M796@border.crystalsphere.multiverse>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2005-11-30 at 10:55 -0800, Luke Dean wrote: > > On Tue, 29 Nov 2005, Ian D. Leroux wrote: > > I had > > added a line to my /etc/dhclient-exit-hooks to restart ntpd every time a > > new address was obtained: > > > > [...] > > This seemed work fine on 5.4, but on 6.0 it gives problems at boot. > > Specifically, I get repeated "bad file descriptor" errors after my > > network address is assigned, and running ps after the boot completes > > shows that there are two ntpd processes running. > > [...] > I needed to solve that same problem and came up with the same solution you > did. I saw it work under 5.4 several times when my ISP did maintenance on > my upstream router. I've kept the same setup under 6 and haven't noticed > any problems yet. I've been fortunate enough to keep my IP address leased > since my upgrade to 6, so I haven't truly tested this under 6. Eventually > my ISP will do something to make me lose my lease, and if I have any > problems then, I'll post. Thanks for the second opinions and the tricks. I'll give it another try when I have a moment and report back if anything interesting and reproducible happens. Cheers, Ian D. Leroux
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1133398937.66934.11.camel>