Test farm news

Eric S. Raymond esr at thyrsus.com
Tue Jun 14 10:32:36 UTC 2016


Gary E. Miller <gem at 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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://lists.ntpsec.org/pipermail/devel/attachments/20160614/2d7ef894/attachment.bin>


More information about the devel mailing list