If openntpd is used with hostnames rather than IP addresses in the config, the -s option is used, and dns lookups timeout, there is an undesired extended startup delay. If IP addresses are used, there is at most a 15 second startup delay. Attached patch updates ntpd to give up initial time setting and background within approximately 15 seconds (the hardcoded timeout waiting for a reply from the no privs child process) + however long you have your resolver configured to timeout a dns lookup. Reproducible: Always
Created attachment 364636 [details, diff] Fix startup delay when hostnames used with -s option and dns fails
Created attachment 364638 [details] updated ebuild incorporating the patch
+*openntpd-20080406-r7 (10 Dec 2013) + + 10 Dec 2013; Christoph Junghans <ottxor@gentoo.org> + +files/openntpd-20080406-dns-timeout.patch, + +files/openntpd-20080406-signal.patch, +openntpd-20080406-r7.ebuild, + -files/openntpd.logrotate-20080406-r5, -openntpd-20080406-r6.ebuild, + metadata.xml: + fixed signal on linux (bug #493084), fixed dns-timeout (bug #493358), make + Paul maintainer +