Gary E. Miller <g...@rellim.com>: > > I can easily shut down and restart all ntpds - in fact I'll have to in > > order to get the new configs read. > > You need to do more than shutdown ntpd to get back to pre-ntp initial > conditions. For a real good test you need to set the system clock off > by maybe a minute, or an hour ,or maybe back to 1970. Remove the drift > file. Remove the battery from you GPS. And probably restart Linux to > clera out any save drift.
/me imagines hitting something with a cartoon mallet. That would be the most extreme test, but for that very reason I doubt it's that interesting - how often are you going to get hit with all of this at once? Still... #!/bin/sh # Quoth Gary Miller: # "You need to do more than shutdown ntpd to get back to pre-ntp initial # conditions. For a real good test you need to set the system clock off # by maybe a minute, or an hour, or maybe back to 1970. Remove the drift # file. Remove the battery from you GPS. And probably restart Linux to # clear out any save drift." # This does everyting but the battery removal. # ssh -c "sudo '(date -s 0; rm /var/lib/ntp/ntp.drift; reboot)'" $1 I shall call it "mallet". -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
signature.asc
Description: Digital signature
_______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel