Today, unbound-anchor's return code will dictate whether or not unbound is able to start. The attached patch causes unbound to try to start, even if unbound-anchor's return code is non-zero. Since unbound-anchor has built-in validation content, unbound's successful startup should not be dependent on unbound-anchor's ability to pull a key from the Internet. The patch also fixes a trailing whitespace issue. Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->sem Over to maintainer (via the GNATS Auto Assign Tool)
Responsible Changed From-To: sem->erwin Currently talking to NLNetLabs what they think of this and possibly upstreaming
Author: sem Date: Thu May 15 08:27:53 2014 New Revision: 354104 URL: http://svnweb.freebsd.org/changeset/ports/354104 QAT: https://qat.redports.org/buildarchive/r354104/ Log: - Run unbound even when unbound-anchors fails - Remove trailing space PR: ports/189818 Submitted by: zi Modified: head/dns/unbound/Makefile head/dns/unbound/files/unbound.in Modified: head/dns/unbound/Makefile ============================================================================== --- head/dns/unbound/Makefile Thu May 15 08:08:23 2014 (r354103) +++ head/dns/unbound/Makefile Thu May 15 08:27:53 2014 (r354104) @@ -3,7 +3,7 @@ PORTNAME= unbound PORTVERSION= 1.4.22 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= dns MASTER_SITES= http://unbound.net/downloads/ Modified: head/dns/unbound/files/unbound.in ============================================================================== --- head/dns/unbound/files/unbound.in Thu May 15 08:08:23 2014 (r354103) +++ head/dns/unbound/files/unbound.in Thu May 15 08:27:53 2014 (r354104) @@ -23,7 +23,7 @@ rcvar=unbound_enable command="%%PREFIX%%/sbin/unbound" extra_commands="reload" start_precmd="start_precmd" -reload_precmd="%%PREFIX%%/sbin/unbound-checkconf >/dev/null" +reload_precmd="%%PREFIX%%/sbin/unbound-checkconf >/dev/null" load_rc_config $name @@ -41,6 +41,7 @@ start_precmd() su -m unbound -c "%%PREFIX%%/sbin/unbound-anchor ${unbound_anchorflags}"; \ fi && echo . + return 0 } run_rc_command "$1" _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!