[Bug 225360] dns/unbound: service start fails with flags

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 21 17:53:04 UTC 2018


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

            Bug ID: 225360
           Summary: dns/unbound: service start fails with flags
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: brnrd at freebsd.org
                CC: jaap at NLnetLabs.nl
             Flags: maintainer-feedback?(jaap at NLnetLabs.nl)
                CC: jaap at NLnetLabs.nl

If a different conf-file is passed to unbound with 

> unbound_flags=" -c /var/unbound/unbound.conf"

unbound will fail to start with error

> unbound-checkconf[81255:0] fatal error: config file /usr/local/etc/unbound/unbound.conf is not inside chroot /var/unbound

This can be fixed by adding /var/unbound/unbound.conf to the rc-script in the
unbound-checkconf line in pre-cmd

Probably the rc script needs to be amended to allow passing a config file and
pass that to unbound-checkconf and (incl. -c) to unbound.

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


More information about the freebsd-ports-bugs mailing list