[chrony-users] chrony switch source issue

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


Hi,

If configuring chrony sources to PHC and NTP, and while PHC is the current chosen source,

In case PHC source returns zero timestamp (get_phc_sample) Chrony will validate the timestamp, calculate the source score and will switch to a better source (NTP) as expected

But in case PHC source returns a failed status (for example -EIO)  Chrony will not switch the sources and will stay on PHC source for an infinite time

Although Chrony debug logs indicates the error:

sys_linux.c:859:(get_phc_sample) ioctl(PTP_SYS_OFFSET) failed : Input/output error

 

Is that a wanted behavior?

Thanks

 

 



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/