Package: openntpd
Version: 20080406p-4
Severity: normal

Openntpd stops working and starts spamming syslog when the IP address of
the interface having the NTP server connections changes, like after a DHCP
update.

The syslog shows something like this:

-*-
Jan 24 09:07:57 xxx dhclient: bound to zz.zz.zz.zz -- renewal in 818 seconds.
Jan 24 09:09:29 xxx ntpd[2474]: sendto: Invalid argument
Jan 24 09:10:29 xxx ntpd[2474]: sendto: Invalid argument
...
-*-

The 'Invalid argument' messages continue a few times per minute, until
openntpd is restarted.

Looking at the openntpd package files, there is a
/etc/network/if-up.d/openntpd file which is supposed to restart openntpd
when an external interface comes up. I'm not sure whether a network interface
should go down and up during IP address change, but if that is the case,
then the bug is in isc-dhcp-client.

If network intefaces should stay up during IP address change, then this
bug could be fixed for dhclient using systems by placing a restart script
similar to ifupdowns to /etc/dhcp/dhclient-exit-hooks.d


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to