[pkg-ntp-maintainers] Bug#787404: ntp_intres.request: permission denied

Bernhard Schmidt berni at debian.org
Mon Apr 3 20:59:07 UTC 2017


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ntp-maintainers/attachments/20170403/61849028/attachment.sig>


More information about the pkg-ntp-maintainers mailing list