Changeset 13702 in hybrid


Ignore:
Timestamp:
Jan 15, 2017, 9:59:56 PM (8 years ago)
Author:
rick
Message:

Put the trust anchor file it it\'s proper ( rooted ) location

Location:
branches/releng-11/nanobsd
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-11/nanobsd/cfg/nanobsd.wleiden

    r13701 r13702  
    235235)
    236236
     237# Unbound is running in alternative chroot location (port default) how-ever
     238# this directory needs to be writeable by unbound for key generation etc.
     239cust_unbound_rights() (
     240        if [ -r ${NANO_WORLDDIR}/usr/local/etc/unbound ]; then
     241                chroot ${NANO_WORLDDIR} sh -c "chown unbound:unbound /usr/local/etc/unbound"
     242        fi
     243)
    237244
    238245
     
    440447customize_cmd cust_set_root_password
    441448customize_cmd cust_sudo_rules
     449customize_cmd cust_unbound_rights
    442450#customize_cmd cust_apply_nanobsd_patches
    443451late_customize_cmd late_cust_unset_common_var_and_tmp
  • branches/releng-11/nanobsd/files/etc/rc.conf

    r13699 r13702  
    7979local_unbound_enable="NO"
    8080unbound_enable="NO"
    81 unbound_anchorflags="-a /tmp/unbound.root.key"
    8281
    8382# Explicitly disable the memory-hungry alternatives
  • branches/releng-11/nanobsd/files/usr/local/etc/unbound/unbound.conf

    r13699 r13702  
    434434        # and under the terms of our LICENSE (see that file in the source).
    435435        # auto-trust-anchor-file: "/usr/local/etc/unbound/root.key"
    436         auto-trust-anchor-file: "/tmp/unbound.root.key"
    437436
    438437        # File with DLV trusted keys. Same format as trust-anchor-file.
Note: See TracChangeset for help on using the changeset viewer.