Well you are right.  The init.d script does something that rewrites the 
ntp.conf file.  I don't understand enough bash to figure it out so I just 
started ntp manually.  It doesn't change the ntp.conf ;^)

But it doesn't work properly either ;^(
First of all this looks fishy:
[dha...@node0 /etc]$ ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 cogsworth.aero. .INIT.          16 u    - 1024    0    0.000    0.000   0.000
 dns.aero.org    .INIT.          16 u    - 1024    0    0.000    0.000   0.000

Those delay, offset, and jitter values are too good to be true and the other 
machine won't connect:
[dha...@node1 ~]$ sudo ntpdate node0.rms01.wgs.sntb.aero.org
16 Sep 10:24:03 ntpdate[25389]: no server suitable for synchronization found

Hmmm...


--- On Thu, 9/16/10, Rob <[email protected]> wrote:

> From: Rob <[email protected]>
> Subject: Re: [ntp:questions] Why does ntp keep changing my conf file?
> To: [email protected]
> Date: Thursday, September 16, 2010, 9:24 AM
> Daniel Havey <[email protected]>
> wrote:
> > Hehe ;^)
> > This thing is nuts man ;^)  Why does it allow my
> conf file to get rewritten?
> >
> > When I run sudo /etc/init.d/ntpd restart
> > It wipes out my server lines and puts in one of it's
> own ;^)
> 
> It is not ntp that is doing this.  it is your
> /etc/init.d/ntpd script
> which was made by the distributor of your Linux system.
> 
> Look in this script what is happening.  There is
> probably some setting
> that you can do somewhere that tells the script to leave
> the conf file
> alone.
> 
> _______________________________________________
> questions mailing list
> [email protected]
> http://lists.ntp.org/listinfo/questions
> 


      
_______________________________________________
questions mailing list
[email protected]
http://lists.ntp.org/listinfo/questions

Reply via email to