Thank you for the replies everyone. Are there any major differences between the BIND package that Red Hat/CentOS provides vs the BIND package provided by the ISC website?
Thanks On Thu, Mar 24, 2016 at 8:19 AM, Tony Finch <d...@dotat.at> wrote: > Mark Andrews <ma...@isc.org> wrote: > > > > That said named does wait for the loading to complete before the > > parent process exits and its exit status reflects if the load > > succeeded or not. See ns_os_daemonize() and ns_os_started(). > > OK, I'm feeling pretty stupid now, and I'm sorry for saying that named > doesn't do the right thing when starting. (Maybe I didn't have a good > reason for that anti-race logic after all!) Oh well, on the bright side > it means that a systemd unit file named can in fact be quite simple, and > I get to delete some code ... > > Tony. > -- > f.anthony.n.finch <d...@dotat.at> http://dotat.at/ - I xn--zr8h > punycode > Southeast Iceland: Southeasterly 5 or 6, veering southwesterly 6 to gale 8, > occasionally severe gale 9 later. Moderate or rough, becoming rough or very > rough. Rain then wintry showers. Good, occasionally poor. > > --- rc.named > +++ rc.named > @@ -35,15 +35,8 @@ start() { > log_daemon_msg "Starting name server" "BIND" > start-stop-daemon --start --oknodo $SSD --startas $TOP/bin/named \ > -- -t $TOP -u named -c /etc/named.conf -L $LOGFILE > - i=$(( $? ? 100 : 0 )) > - while [ $i -lt 100 ] && > - ! rndc status >/dev/null 2>&1 > - do sleep 0.1 > - i=$((i+1)) > - done > - chmod g+r $RUN/session.key > - rndc status >/dev/null 2>&1 > log_end_msg $? > + chmod g+r $RUN/session.key > } > > stop() { > _______________________________________________ > Please visit https://lists.isc.org/mailman/listinfo/bind-users to > unsubscribe from this list > > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users >
_______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users