Your message dated Mon, 13 Sep 2010 19:58:56 +1200
with message-id <[email protected]>
and subject line Re: [pkg-ntp-maintainers] Bug#596487: ntp: initscript should 
depend on $named
has caused the Debian Bug report #596487,
regarding ntp: initscript should depend on $named
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
596487: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596487
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ntp
Version: 1:4.2.6.p2+dfsg-1
Severity: normal
Tags: patch

The initscript for ntp should add a dependency on $named because it fails
to start when resolv.conf is set to 127.0.0.1 and the local dns server is
not yet running.

Cheers,
Francois

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34.6-grsec (SMP w/2 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ntp depends on:
ii  adduser                  3.112           add and remove users and groups
ii  dpkg                     1.15.8.4        Debian package management system
ii  libc6                    2.11.2-3        Embedded GNU C Library: Shared lib
ii  libcap2                  1:2.19-3        support for getting/setting POSIX.
ii  libedit2                 2.11-20080614-1 BSD editline and history libraries
ii  libopts25                1:5.10-1.1      automated option processing librar
ii  libssl0.9.8              0.9.8o-2        SSL shared libraries
ii  lsb-base                 3.2-23.1        Linux Standard Base 3.2 init scrip
ii  netbase                  4.42            Basic TCP/IP networking system

Versions of packages ntp recommends:
ii  perl                          5.10.1-14  Larry Wall's Practical Extraction 

Versions of packages ntp suggests:
pn  ntp-doc                       <none>     (no description available)

-- Configuration Files:
/etc/ntp.conf changed [not included]

-- no debconf information
--- a/init.d/ntp
+++ b/init.d/ntp
@@ -2,8 +2,8 @@
 
 ### BEGIN INIT INFO
 # Provides:        ntp
-# Required-Start:  $network $remote_fs $syslog
-# Required-Stop:   $network $remote_fs $syslog
+# Required-Start:  $network $remote_fs $syslog $named
+# Required-Stop:   $network $remote_fs $syslog $named
 # Default-Start:   2 3 4 5
 # Default-Stop:    1
 # Short-Description: Start NTP daemon

--- End Message ---
--- Begin Message ---
On 2010-09-13 at 09:00:02, Kurt Roeckx wrote:
> Not everybody runs named, so we can't depend on it.  I think there
> is also a way to say "start it before us if it's available".

Actually the $network virtual facility also provides $named so I would say
that everybody should have it running even if they're not running a DNS server.

> But ntp can perfectly start without the nameserver working.  You
> might not have a network connection at the time you boot.  ntpd
> will start a slave process to do the resolving in that case, and
> so can resolv it later.

Alright, in that case I'll close this bug. My original problem was probably
due to the other bugs you pointed to.

Thanks for your help!

Cheers,
Francois

-- 
Francois Marier                         identi.ca/fmarier
http://feeding.cloud.geek.nz          twitter.com/fmarier


--- End Message ---

Reply via email to