Re: ntp init script

2010-08-25 Thread Jeremy Huntwork
On 8/24/10 9:12 PM, Bruce Dubbs wrote: > If the system time is too far off the network time, then ntpd just > exits. This can happen easily if the hwclock is set to utc and > /etc/sysconfig/clock is not (or vice versa). Not if it is started with -gx. I've just tested and confirmed. I set my date

Re: ntp init script

2010-08-25 Thread Dan Nicholson
On Tue, Aug 24, 2010 at 6:12 PM, Bruce Dubbs wrote: > Dan Nicholson wrote: >> On Mon, Aug 23, 2010 at 3:30 PM, Jeremy Huntwork >> wrote: >>> On 8/23/10 6:10 PM, Bruce Dubbs wrote: What if the ntp server provided is down like in the 2nd entry above? >>> Or (for who knows what reason) outgoing

Re: ntp init script

2010-08-24 Thread Bruce Dubbs
Dan Nicholson wrote: > On Mon, Aug 23, 2010 at 3:30 PM, Jeremy Huntwork > wrote: >> On 8/23/10 6:10 PM, Bruce Dubbs wrote: >>> What if the ntp server provided is down like in the 2nd entry above? >> Or (for who knows what reason) outgoing ICMP packets are blocked where >> you have no control? >> >

Re: ntp init script

2010-08-23 Thread Jeremy Huntwork
On 8/23/10 6:10 PM, Bruce Dubbs wrote: > What if the ntp server provided is down like in the 2nd entry above? Or (for who knows what reason) outgoing ICMP packets are blocked where you have no control? > This problem is not easily solved. Understood and agreed. Again, I think that initial set o

Re: ntp init script

2010-08-23 Thread Bruce Dubbs
Jeremy Huntwork wrote: > On 8/23/10 4:54 PM, Bruce Dubbs wrote: >> Since we use *pool.ntp.org, how would you propose doing that? >> I agree that it would be nice, but I don't know how. > > I don't know either, at least, I haven't given much thought to it. My > solution for myself was just to assu

Re: ntp init script

2010-08-23 Thread Jeremy Huntwork
On 8/23/10 4:54 PM, Bruce Dubbs wrote: > Since we use *pool.ntp.org, how would you propose doing that? > I agree that it would be nice, but I don't know how. I don't know either, at least, I haven't given much thought to it. My solution for myself was just to assume a correct date has been set at

Re: ntp init script

2010-08-23 Thread Bruce Dubbs
Jeremy Huntwork wrote: > On 8/23/10 3:34 PM, Bruce Dubbs wrote: >> You are quoting out of context. The full startup is: >> >> boot_mesg "Starting ntpd..." >> ntpd -gqx >> loadproc /usr/sbin/ntpd > > Ah, my mistake. I didn't actually see the loadproc line underneath. In > theory, yes, ntpd -q sho

Re: ntp init script

2010-08-23 Thread Jeremy Huntwork
On 8/23/10 3:34 PM, Bruce Dubbs wrote: > You are quoting out of context. The fill startup is: > > boot_mesg "Starting ntpd..." > ntpd -gqx > loadproc /usr/sbin/ntpd Ah, my mistake. I didn't actually see the loadproc line underneath. In theory, yes, ntpd -q should be run once first, to update the

Re: ntp init script

2010-08-23 Thread Bruce Dubbs
Jeremy Huntwork wrote: > Hi, > > This has come up before, but I want to bring it up again now because > it's such a simple fix to an old problem. > > Given that the purpose of the init script is to (as the book puts it): > "run ntpd continuously and allow it to synchronize the time in a gradual

ntp init script

2010-08-23 Thread Jeremy Huntwork
Hi, This has come up before, but I want to bring it up again now because it's such a simple fix to an old problem. Given that the purpose of the init script is to (as the book puts it): "run ntpd continuously and allow it to synchronize the time in a gradual manner.", the current options passe