Date: Thu, 1 Nov 2018 14:24:12 +0000 (UTC) From: =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= <des@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r339995 - head/libexec/rc/rc.d Message-ID: <201811011424.wA1EOC4L082271@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: des Date: Thu Nov 1 14:24:12 2018 New Revision: 339995 URL: https://svnweb.freebsd.org/changeset/base/339995 Log: Run unbound-anchor when root.key is empty, not just when it is absent. PR: 232555 Submitted by: Ari Suutari <ari@stonepile.fi> MFC after: 3 days Modified: head/libexec/rc/rc.d/local_unbound Modified: head/libexec/rc/rc.d/local_unbound ============================================================================== --- head/libexec/rc/rc.d/local_unbound Thu Nov 1 14:00:56 2018 (r339994) +++ head/libexec/rc/rc.d/local_unbound Thu Nov 1 14:24:12 2018 (r339995) @@ -92,7 +92,7 @@ local_unbound_prestart() fi # Retrieve DNSSEC root key - if [ ! -f ${local_unbound_anchor} ] ; then + if [ ! -s ${local_unbound_anchor} ] ; then run_rc_command anchor fi }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811011424.wA1EOC4L082271>