[ntp:questions] Why does ntp keep changing my conf file?

unruh unruh at wormhole.physics.ubc.ca
Mon Sep 20 15:07:20 UTC 2010


On 2010-09-15, Daniel Havey <dhavey at yahoo.com> wrote:
> Hehe ;^)
> This thing is nuts man ;^)  Why does it allow my conf file to get rewritten?
>
> It looks like this:
> [dhavey at node0 ~/MANET]$ more /etc/ntp.conf
> restrict default noserve nomodify
> restrict -6 default noserve nomodify
> restrict 127.0.0.1
> restrict -6 ::1
> restrict 192.168.0.0 mask 255.255.252.0 notrust nomodify notrap
> restrict 130.221.24.100 mask 255.255.255.255 nomodify notrap noquery
> server 130.221.24.100
> restrict 130.221.128.2 mask 255.255.255.255 nomodify notrap noquery
> server 130.221.128.2
> driftfile /var/lib/ntp/drift
> broadcastdelay  0.008
>
> When I run sudo /etc/init.d/ntpd restart

Well I would look at that script to see where it is doing something
weird. 
You do not say what distribution you use. 

> It wipes out my server lines and puts in one of it's own ;^)




More information about the questions mailing list