Tinc restart every 53 seconds, why?



  • Hello all,
    just installed tinc on 2.4 (then upgraded to 2.4.1) and I see a curious thing:
    checking /var/log/tinc.log I see tincd is restarted every 53 seconds, not a big deal, it is fast and there is no network downs, but still I am wondering.
    See log entries:

    Nov  1 09:03:40 mtfw1 tinc[41680]: tincd 1.0.32 starting, debug level 0
    Nov  1 09:03:40 mtfw1 tinc[41680]: /dev/tun0 is a Generic BSD tun device
    Nov  1 09:03:40 mtfw1 tinc[41680]: Ready
    Nov  1 09:04:33 mtfw1 tinc[41680]: Got TERM signal
    Nov  1 09:04:33 mtfw1 tinc[41680]: Terminating
    Nov  1 09:04:33 mtfw1 tinc[37186]: tincd 1.0.32 starting, debug level 0
    Nov  1 09:04:33 mtfw1 tinc[37186]: /dev/tun0 is a Generic BSD tun device
    Nov  1 09:04:33 mtfw1 tinc[37186]: Ready
    Nov  1 09:05:25 mtfw1 tinc[37186]: Got TERM signal <– here it died after 52 seconds, actually
    Nov  1 09:05:25 mtfw1 tinc[37186]: Terminating
    Nov  1 09:05:25 mtfw1 tinc[33315]: tincd 1.0.32 starting, debug level 0
    Nov  1 09:05:25 mtfw1 tinc[33315]: /dev/tun0 is a Generic BSD tun device
    Nov  1 09:05:25 mtfw1 tinc[33315]: Ready
    Nov  1 09:06:18 mtfw1 tinc[33315]: Got TERM signal
    Nov  1 09:06:18 mtfw1 tinc[33315]: Terminating
    Nov  1 09:06:18 mtfw1 tinc[25914]: tincd 1.0.32 starting, debug level 0
    Nov  1 09:06:18 mtfw1 tinc[25914]: /dev/tun0 is a Generic BSD tun device
    Nov  1 09:06:18 mtfw1 tinc[25914]: Ready
    Nov  1 09:07:11 mtfw1 tinc[25914]: Got TERM signal
    Nov  1 09:07:11 mtfw1 tinc[25914]: Terminating
    Nov  1 09:08:56 mtfw1 tinc[59110]: tincd 1.0.32 starting, debug level 0
    Nov  1 09:08:56 mtfw1 tinc[59110]: /dev/tun0 is a Generic BSD tun device
    Nov  1 09:08:56 mtfw1 tinc[59110]: Ready

    I can think it is done this way to keep up with changes in configuration, but it does not seem the smartest way to do so, so maybe it is something wrong with my setup.

    Regards
    Andrea

    EDIT: nevermind, upon further investigation we found we had an old HideMyAss VPN that was not working anymore, it was trying to reconnect every 50 seconds, causing a change on a WAN interface and a restart of the services… my bad


Log in to reply