Closed BrianSidebotham closed 6 years ago
@javierbertoli Sure - no problem.
@BrianSidebotham when tests pass, would you squash your commits, so I merge them?
@javierbertoli Sure no problem, I can squash the commits. Sorry - you can see me scrabbling in the dark to fix things in the rb
files!
@BrianSidebotham no problem, thank you for taking the time to fix this. Merged!
@javierbertoli Great thanks.
On CentOS/RHEL7 SELinux doesn't have permissions for the log file location selected. RHEL/CentOS default logging location for named is /var/named/data (in the original named.conf supplied in the RHEL/CentOS packaging)
type=AVC msg=audit(1535031676.458:4738): avc: denied { open } for pid=33274 comm="named" path="/var/log/named/query.log" dev="dm-3" ino=262174 scontext=system_u:system_r:named_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=file
As logging is enabled by default the standard state is broken for CentOS7 and RHEL7 when SELinux is enforcing.
This fixes #107