Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Aug 2018 18:31:17 +0100
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: named and ntpd start order in rc.d
Message-ID:  <20180826183117.5bba87af@gumby.homeunix.com>
In-Reply-To: <e651e86a-76d4-391c-9d38-9be8448bb455@netfence.it>
References:  <e651e86a-76d4-391c-9d38-9be8448bb455@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 26 Aug 2018 18:34:43 +0200
Andrea Venturoli wrote:

> Hello.
> 
> I'm in the same situation described in this bug:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=129146
> 
> ntpd starts when named is not yet running, fails to resolve its peers 
> and never works again until I restart it manually.
> 
> That bug (of the 7.0 era) was closed as fixed, since /etc/rc.d/ntpd 
> requires ntpdate, which in turn required named.
> However, the latest statement is not true anymore, today (probably
> due to the fact that named is no longer in base).

What's in base looks OK

rcorder /etc/rc.d/* |egrep  'ntp|unbou|NET'
/etc/rc.d/local_unbound
/etc/rc.d/NETWORKING
/etc/rc.d/ntpdate
/etc/rc.d/ntpd


local_unbound starts before NETWORKING and ntpdate requires NETWORKING

check where bind fits in when you run 

 rcorder /etc/rc.d/*  /usr/local/etc/rc.d/*

If it's out of correct order I'd suggest opening a new bug report
against the bind port.

If it's already correct try enabling netwait in rc.conf.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180826183117.5bba87af>