Skip to content

Commit a92e4a0

Browse files
authored
Revert "Add new file context rabbitmq_conf_t."
This reverts commit 43e2de6.
1 parent f7a21a9 commit a92e4a0

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

rabbitmq.fc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,3 @@
99
/var/log/rabbitmq(/.*)? gen_context(system_u:object_r:rabbitmq_var_log_t,s0)
1010

1111
/var/run/rabbitmq(/.*)? gen_context(system_u:object_r:rabbitmq_var_run_t,s0)
12-
13-
/etc/rabbitmq(/.*)? gen_context(system_u:object_r:rabbitmq_conf_t,s0)

rabbitmq.te

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ files_pid_file(rabbitmq_var_run_t)
3232
type rabbitmq_tmp_t;
3333
files_tmp_file(rabbitmq_tmp_t)
3434

35-
type rabbitmq_conf_t;
36-
files_config_file(rabbitmq_conf_t)
37-
3835
######################################
3936
#
4037
# Rabbitmq local policy
@@ -70,10 +67,6 @@ manage_dirs_pattern(rabbitmq_t, rabbitmq_tmp_t, rabbitmq_tmp_t)
7067
manage_files_pattern(rabbitmq_t, rabbitmq_tmp_t, rabbitmq_tmp_t)
7168
files_tmp_filetrans(rabbitmq_t, rabbitmq_tmp_t, { file dir })
7269

73-
manage_dirs_pattern(rabbitmq_t, rabbitmq_conf_t, rabbitmq_conf_t)
74-
manage_files_pattern(rabbitmq_t, rabbitmq_conf_t, rabbitmq_conf_t)
75-
files_etc_filetrans(rabbitmq_t, rabbitmq_conf_t, dir)
76-
7770
kernel_dgram_send(rabbitmq_t)
7871

7972
kernel_read_system_state(rabbitmq_t)

0 commit comments

Comments
 (0)