2012-11-06 19:17:36

by Matthew Thode

[permalink] [raw]
Subject: [refpolicy] [PATCH 1/1] removing refrences to named_var_lib_t as it doesn't exist anymore for bind.if


Signed-off-by: Matthew Thode <[email protected]>
---
bind.if | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/bind.if b/bind.if
index 0ef4f7b..043719c 100644
--- a/bind.if
+++ b/bind.if
@@ -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)
--
1.7.8.6


2012-11-06 19:29:45

by dominick.grift

[permalink] [raw]
Subject: [refpolicy] [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

On Tue, 2012-11-06 at 13:17 -0600, Matthew Thode wrote:
> Signed-off-by: Matthew Thode <[email protected]>
> ---
> bind.if | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/bind.if b/bind.if
> index 0ef4f7b..043719c 100644
> --- a/bind.if
> +++ b/bind.if
> @@ -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)