Open Slair1 opened 4 years ago
@Slair1, is the port number pdns tries to bind to always the same, or predictable?
Also, will you be able to create a PR to address the issue?
The map permission to usr_t
files should be a part of the policy since commit 86fb539fd71e513536c5d2f6214cd4edbe6beddf from Jun 5th.
@zpytela If I understand correctly, it was trying to bind w/ port 18899 according the the audit entry correct? Then no, that should just be an ephemeral port and could be any high numbered port.
Yea, I should be able to have someone on my team do a PR to address the issue. it may not be right away, but we should be able to figure that out
@Slair1, what is the current status of this issue? Do you need any help?
I've confirmed the map permission is allowed. Note ephemeral port range is this by default:
# sysctl net.ipv4.ip_local_port_range
net.ipv4.ip_local_port_range = 32768 60999
To resolve the access to /proc, it is required to know which files are necessary to read. Setting the system to permissive mode can help with gathering all denials.
Running PowerDNS Authoritative 4.3.0. Here is some output from audit2why. PDNS will not stay running if in "slave=yes" mode and selinux is enforcing. Let me know if i can provide any further detail.
Created follow additional module to fix: