When chronyc attempts to chat over the control socket with chronyd, if for 
whatever reason the first communication attempt fails, chronyc will end up in a 
permanent loop trying and failing to communicate. This is because in the 
submit_request() function the select() loop break-exit failsafes are protected 
by a new_attempt flag which is cleared on the first try and never updated 
again. The attached patch attampts one way of fixing this..

Thank you,

Cristian


Attachment: 0001-client-avoid-infinite-loops-on-communication-errors-.patch
Description: 0001-client-avoid-infinite-loops-on-communication-errors-.patch

Reply via email to