Created attachment 181434 [details] setup rndc_flags In case of non-default path to rndc.key (f.e. /etc/namedb/rndc.key) current service startup script may fail to construct correct rndc_flags variable for "stop" or "reload" actions. As a result, service named stop/reload fail to manage daemon with rndc command and forcebly kill it and restart. On the other hand, it correctly setups rndc_flags in prestart function when this is unneeded. Proposed patch fixes this.
A commit references this bug: Author: mat Date: Thu Apr 13 10:15:19 UTC 2017 New revision: 438434 URL: https://svnweb.freebsd.org/changeset/ports/438434 Log: Unbreak rndc calls when using non default rndc.key location. PR: 218335 Sponsored by: Absolight Changes: head/dns/bind9-devel/Makefile head/dns/bind9-devel/files/named.in head/dns/bind910/Makefile head/dns/bind910/files/named.in head/dns/bind911/Makefile head/dns/bind911/files/named.in head/dns/bind99/Makefile head/dns/bind99/files/named.in
A commit references this bug: Author: mat Date: Thu Apr 13 10:17:09 UTC 2017 New revision: 438436 URL: https://svnweb.freebsd.org/changeset/ports/438436 Log: MFH: r438434 Unbreak rndc calls when using non default rndc.key location. PR: 218335 Sponsored by: Absolight Changes: _U branches/2017Q2/ branches/2017Q2/dns/bind9-devel/Makefile branches/2017Q2/dns/bind9-devel/files/named.in branches/2017Q2/dns/bind910/Makefile branches/2017Q2/dns/bind910/files/named.in branches/2017Q2/dns/bind911/Makefile branches/2017Q2/dns/bind911/files/named.in branches/2017Q2/dns/bind99/Makefile branches/2017Q2/dns/bind99/files/named.in