From: Aki Tuomi Date: Fri, 17 Jan 2014 09:10:44 +0000 (+0200) Subject: Added /var/lib to fcontext X-Git-Tag: rec-3.6.0-rc1~238^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1213%2Fhead;p=thirdparty%2Fpdns.git Added /var/lib to fcontext --- diff --git a/contrib/selinux/pdns.fc b/contrib/selinux/pdns.fc index f841623af8..3e23a694da 100644 --- a/contrib/selinux/pdns.fc +++ b/contrib/selinux/pdns.fc @@ -5,5 +5,5 @@ /var/run/pdns\.pid -- gen_context(system_u:object_r:named_var_run_t,s0) /usr/bin/pdns_control -- gen_context(system_u:object_r:ndc_exec_t,s0) /usr/bin/pdnssec -- gen_context(system_u:object_r:ndc_exec_t,s0) -/var/cache/pdns(/.*)? -- gen_context(system_u:object_r:named_cache_t,s0) -/var/cache/pdns(/.*)? -d gen_context(system_u:object_r:named_cache_t,s0) +/var/(cache|lib)/pdns(/.*)? -- gen_context(system_u:object_r:named_cache_t,s0) +/var/(cache|lib)/pdns(/.*)? -d gen_context(system_u:object_r:named_cache_t,s0)