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

Kurt Roeckx kurt at roeckx.be
Mon Apr 3 21:15:35 UTC 2017


On Mon, Apr 03, 2017 at 10:59:07PM +0200, Bernhard Schmidt wrote:
> 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.

As far as I know, this only works with the "pool" command, not
with any of the server commands.


Kurt



More information about the pkg-ntp-maintainers mailing list