Control: tags -1 + moreinfo unreproducible On Mon, Jun 01, 2015 at 09:16:05AM +0100, Klaus Ethgen wrote:
> This is a successor of bug #571469. All is said there. NTP needs running > DNS when it starts. Please add $named to Required-Start in init script. > > Funny thing, reportbug does include my changed init.d script below but > not the changed part: > # Required-Start: $network $remote_fs $syslog $named > > In my setup, ntp and dns was start at the same runlevel. But as > "unbounce" comes lexically after "ntp", ntp was start first. With bind, > that could work as "bind" is lexically earlier in the list. However, > There is a dependency between ntp and dns so that dependency has to be > configured correctly. I tried to reproduce this with current Jessie and the future Stretch release. As far as I can tell ntp handles this situation just fine. When ntpd starts up and cannot resolve the servers it logs ntpd[...]: Deferring DNS for 0.debian.pool.ntp.org 1 ntpd_initres[...]: host name not found: 0.debian.pool.ntp.org as soon as DNS and/or network connectivity is available again (a couple of minutes later) it logs ntpd_initres[...]: DNS 0.debian.pool.ntp.org -> IP and starts using this server. Bernhard
signature.asc
Description: Digital signature