[ntp:questions] ntpd - gpsd communication

Miroslav Lichvar mlichvar at redhat.com
Mon Jun 8 07:52:32 UTC 2020


On 2020-06-04, ah at avtodoria.ru <ah at avtodoria.ru> wrote:
> I want to add two another sources to fullfill the complect of three
> generals)) but at first i want to understand how to cheat ntpd as gpsd
> regularly does. I think i did all i need. But it looks like i did
> something wrong in that test. Ntpd eats my data but doesn't touch
> system time. And i can't understand why

If you need something to report a large offset to ntpd via SHM, you
could try this program for testing leap seconds:

https://github.com/mlichvar/leapshm

With some small modifications, it should be able to report any offset
you want.

-- 
Miroslav Lichvar



More information about the questions mailing list