Skip to contentSkip to conversation

removing refrences to named_var_lib_t as it doesn't exist anymore for bind.if

PATCH New Matthew Thode 2 participants 2 messages Nov 6, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 removing refrences to named_var_lib_t as it doesn't exist anymore for bind.if

---
 bind.if |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
bind.if +0 -2
index 0ef4f7b..043719c 100644
@@ -362,7 +362,6 @@ interface(`bind_udp_chat_named',`
 interface(`bind_admin',`
 	gen_require(`
 		type named_t, named_tmp_t, named_log_t;
-		type named_conf_t, named_var_lib_t, named_var_run_t;
 		type named_cache_t, named_zone_t, named_initrc_exec_t;
 		type dnssec_t, ndc_t;
 	')
@@ -387,7 +386,6 @@ interface(`bind_admin',`
 	admin_pattern($1, { dnssec_t named_cache_t named_zone_t })
 
 	files_list_var_lib($1)
-	admin_pattern($1, named_var_lib_t)
 
 	files_list_pids($1)
 	admin_pattern($1, named_var_run_t)
Signature · 1 line
1.7.8.6
#1 lore raw

PATCH 1/1 removing refrences to named_var_lib_t as it doesn't exist anymore for bind.if

In the process you removed the named_conf_t and named_var_run_t requires as well.

Never the less, i merged this patch and re-added the other types myself

Thanks

Quoted 25 lines · Matthew Thode
---
 bind.if |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
bind.if +0 -2
index 0ef4f7b..043719c 100644
@@ -362,7 +362,6 @@ interface(`bind_udp_chat_named',`
 interface(`bind_admin',`
 	gen_require(`
 		type named_t, named_tmp_t, named_log_t;
-		type named_conf_t, named_var_lib_t, named_var_run_t;
 		type named_cache_t, named_zone_t, named_initrc_exec_t;
 		type dnssec_t, ndc_t;
 	')
@@ -387,7 +386,6 @@ interface(`bind_admin',`
 	admin_pattern($1, { dnssec_t named_cache_t named_zone_t })
 
 	files_list_var_lib($1)
-	admin_pattern($1, named_var_lib_t)
 
 	files_list_pids($1)
 	admin_pattern($1, named_var_run_t)