]> granicus.if.org Git - pdns/commitdiff
Added /var/lib to fcontext
authorAki Tuomi <cmouse@desteem.org>
Fri, 17 Jan 2014 09:10:44 +0000 (11:10 +0200)
committerAki Tuomi <cmouse@desteem.org>
Fri, 17 Jan 2014 09:10:44 +0000 (11:10 +0200)
contrib/selinux/pdns.fc

index f841623af81ffc7664d7e31f9cc3aa191f0b149a..3e23a694da348074147f261e45e0834d6e38872c 100644 (file)
@@ -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)