[Bug 217544] dns/unbound: chicken/egg issue between unbound-anchor and unbound-checkconf

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Mar 4 18:37:22 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217544

            Bug ID: 217544
           Summary: dns/unbound: chicken/egg issue between unbound-anchor
                    and unbound-checkconf
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: freebsd.org at neant.ro
                CC: jaap at NLnetLabs.nl
                CC: jaap at NLnetLabs.nl
             Flags: maintainer-feedback?(jaap at NLnetLabs.nl)

Created attachment 180507
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=180507&action=edit
unbound rc script patch

The start_precmd() function in unbound's rc.d script does an && between running
unbound-checkconf and unbound-anchor. Problem is, unbound-checkconf returns an
error when the root.key doesn't exist, so unbound-anchor doesn't get a chance
to run and set up the key that the check is complaining about.

Perhaps the attached fix is acceptable?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list