Re: [Dnsmasq-discuss] Hang when system time is changed backwards

2015-07-08 Thread Jacob Siverskog
I don't really have a good way to reproduce this issue -- but from looking at the patch, I'd say that it seems to be solved. Thanks! On Sun, Jul 5, 2015 at 11:39 PM, Simon Kelley si...@thekelleys.org.uk wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Using monotonic time seems to be a

Re: [Dnsmasq-discuss] Hang when system time is changed backwards

2015-07-05 Thread Simon Kelley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Using monotonic time seems to be a bit of a portability nightmare, as an alternative, I've added code to count the number of zero returns from select(). The standard wait is three seconds, so once select() has returned zero 12 times, the loop ends

[Dnsmasq-discuss] Hang when system time is changed backwards

2015-06-29 Thread Jacob Siverskog
Hi! It seems like dnsmasq may occasionally hang (=become unresponsive, unkillable with killall dnsmasq (-9 works), doesn't seem to answer on DHCP requests etc) if the system time is changed backwards. I ran strace on dnsmasq once when this happened: root@OD-11:~# strace -p 1645 -f -tt -s 1024