Commit c3689985 authored by Michał Kępień's avatar Michał Kępień

QCOW2: tweak SELinux policy for rndc on CentOS 6

parent 4fba1bb3
......@@ -30,10 +30,12 @@ if [ "$(rpmquery --queryformat "%{VERSION}" centos-release)" = "6" ]; then
require {
type anon_inodefs_t;
type named_t;
type ndc_t;
class file { read write };
allow named_t anon_inodefs_t:file { read write };
allow ndc_t anon_inodefs_t:file { read write };
checkmodule -M -m -o isc-bind-named-centos6.mod isc-bind-named-centos6.te
semodule_package -o isc-bind-named-centos6.pp -m isc-bind-named-centos6.mod
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment