tags 683061 + patch
thanks

On Sat, Jul 28, 2012 at 10:56:47AM +0200, Helmut Grohne wrote:
> I was trying to run ntp with unbound and noticed that in /etc/rc2.d they
> are linked as S02ntp and S02unbound. Clearly ntp needs unbound, because
> the first thing it does is resolve debian.pool.ntp.org. Looking at
> /etc/init.d/ntp reveals the obvious cause for this issue: The
> Required-Start does not include $named.
> 
> Yes, this bug affects both squeeze and wheezy.

The patch for this one is obvious. Patch attached.

Cheers,

Ivo

diff -Nru ntp-4.2.6.p5+dfsg/debian/changelog ntp-4.2.6.p5+dfsg/debian/changelog
--- ntp-4.2.6.p5+dfsg/debian/changelog	2012-05-12 11:04:44.000000000 +0200
+++ ntp-4.2.6.p5+dfsg/debian/changelog	2012-08-25 23:27:28.000000000 +0200
@@ -1,3 +1,11 @@
+ntp (1:4.2.6.p5+dfsg-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add init script dependency on $named, based on report from Helmut Grohne
+    (closes: #683061)
+
+ -- Ivo De Decker <ivo.dedec...@ugent.be>  Sat, 25 Aug 2012 23:26:34 +0200
+
 ntp (1:4.2.6.p5+dfsg-2) unstable; urgency=medium
 
   * Re-enable crypto support by pointing openssl libdir to multiarch dir.
diff -Nru ntp-4.2.6.p5+dfsg/debian/ntp.init ntp-4.2.6.p5+dfsg/debian/ntp.init
--- ntp-4.2.6.p5+dfsg/debian/ntp.init	2009-12-26 18:29:45.000000000 +0100
+++ ntp-4.2.6.p5+dfsg/debian/ntp.init	2012-08-25 23:26:24.000000000 +0200
@@ -2,7 +2,7 @@
 
 ### BEGIN INIT INFO
 # Provides:        ntp
-# Required-Start:  $network $remote_fs $syslog
+# Required-Start:  $network $remote_fs $syslog $named
 # Required-Stop:   $network $remote_fs $syslog
 # Default-Start:   2 3 4 5
 # Default-Stop: 

Reply via email to