ntpdsim status and question

Eric S. Raymond esr at thyrsus.com
Thu Dec 31 16:02:20 UTC 2015


Hal Murray <hmurray at megapathdsl.net>:
> > What is the preferred approach?
> 
> I don't see any clean solution.  The tangle with adj_systime and step_systime 
> in libntp is not the worst problem.  If you build with SIM enabled, aside 
> from making a special libntp you also end up with broken versions of several 
> modules in ntpd so you can either build ntpd or ntpsim.
> 
> I'd probably try hacking the waf stuff to skip building anything else if it 
> was building ntpsim.
> 
> If you put SIM into config.h, you can delete libntp/systime_s.c

I somehow missed Tom's query.  But I note that the kind of problem Hal is
pointing at here is very similar to the one the intercept layer solves
for capture/replay.  Maybe that layer should implement a sim mode?
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>


More information about the devel mailing list