Maintained by: NLnet Labs

[Unbound-users] Troubleshooting occasional "Permission denied" errors?

Paul Wouters
Wed Jun 17 04:36:44 CEST 2015


On Tue, 16 Jun 2015, Tom Samplonius wrote:

>>> (I think I got selinux denied for (at least) these two ports).
>>
>> the fedora config ships with:
>>
>> 	outgoing-port-permit: 32768-65535
>> 	outgoing-port-avoid: 0-32767
>>
>> I see the rhel7 build is missing those lines. I will file a bug report
>> for RHEL7.
>>
>
>  I don’t know what else is using those ports of my server (or blocking access to these ports), but adding that config to unbound.conf has eliminated the “Permission denied” errors that I was seeing.
>
>  Also, any idea what the closest-to-official way to upgrade a RHEL7-like system to Unbound 1.5.x is?

You can probably just grab a fedora 21, 22 or source rpm of unbound and
recompile it on rhel7:

wget https://kojipkgs.fedoraproject.org//packages/unbound/1.5.3/8.fc22/src/unbound-1.5.3-8.fc22.src.rpm
rpm -hiv unbound-1.5.3-8.fc22.src.rpm
rpmbuild -ba ~/rpmbuild/SPECS/unbound.spec


Paul