[pkg-ntp-maintainers] Bug#731976: one more patch

Dmitry Borisyuk q1werty at i.com.ua
Sun Oct 26 18:48:49 UTC 2014


Hi,

I think one more small correction is needed:

--- ntpdate.old	2008-07-09 00:00:00.000000000 +0300
+++ ntpdate	2014-10-26 20:32:21.000000000 +0200
@@ -12,7 +12,7 @@
 	OPTS="-b"
 fi
 
-if [ "$METHOD" = loopback ]; then
+if [ "$METHOD" = loopback ] || [ "$METHOD" = none ]; then
 	exit 0
 fi
 
Otherwise ntpdate is run twice at boot time even when you have one physical interface, see man for interfaces(5):

When ifupdown is being called with the --all option ... if calls all the hook  scripts with  IFACE set to "--all", ... ADDRFAM="meta" and  METHOD="none".



More information about the pkg-ntp-maintainers mailing list