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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f963fa42ae344f5cbcefd0a357f2ecf8699472e;p=pdns Added /var/lib to fcontext --- diff --git a/contrib/selinux/pdns.fc b/contrib/selinux/pdns.fc index f841623af..3e23a694d 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)