ntp.ntpc wrong version

James Browning jamesb.fe80 at gmail.com
Fri Dec 18 17:05:22 UTC 2020


On Fri, Dec 18, 2020, 7:23 AM Udo van den Heuvel via devel <devel at ntpsec.org>
wrote:

> Hello,
>
> I built another ntpsec from git using the usual spec file, without
> errors as far as I could see.
> Yet, when I run the command below, I get some 'wrong version' output.
> What is wrong here and how do I correct?
>
> # /usr/bin/ntpq -c kerninfo
> associd=0 status=c016 leap_alarm, sync_unspec, 1 event, restart,
> pll offset:            0
> pll frequency:         0
> maximum error:         2.04752
> estimated error:       1.6e-05
> kernel status:         pll mode=fll
> pll time constant:     4
> precision:             1e-06
> frequency tolerance:   500
> pps frequency:         0
> pps stability:         0
> pps jitter:            0.0
> calibration interval   4
> calibration cycles:    0
> jitter exceeded:       0
> stability exceeded:    0
> calibration errors:    0
> ntp.ntpc wrong version b'1.2.0 2019-08-02T00:00:00Z' !== 1.2.0
> 2019-08-02T00:00:00Z#
>

Stop building from git head, revert 02f91d 'ntp.ntpc: Print warning if
wrong libntpc version.', or apply 'ntp.ntpc: Fix libntpc version checking.'

Get someone else with better people skills to answer.

What's happening is that the string from libntpc is not getting passed
through ntp.poly.polystr() and the types don't match.

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20201218/6fa16a1f/attachment.htm>


More information about the devel mailing list