minor updates redis module to be able to start the app
Signed-off-by: Alexander Miroshnichenko <alex@millerson.name>
This commit is contained in:
parent
b6396ffe19
commit
2adbd7f732
|
@ -29,7 +29,7 @@ files_config_file(redis_conf_t)
|
||||||
# Local policy
|
# Local policy
|
||||||
#
|
#
|
||||||
|
|
||||||
allow redis_t self:process { setrlimit signal_perms };
|
allow redis_t self:process { setrlimit signal_perms getsched };
|
||||||
allow redis_t self:fifo_file rw_fifo_file_perms;
|
allow redis_t self:fifo_file rw_fifo_file_perms;
|
||||||
allow redis_t self:unix_stream_socket create_stream_socket_perms;
|
allow redis_t self:unix_stream_socket create_stream_socket_perms;
|
||||||
allow redis_t self:tcp_socket create_stream_socket_perms;
|
allow redis_t self:tcp_socket create_stream_socket_perms;
|
||||||
|
@ -41,6 +41,7 @@ manage_files_pattern(redis_t, redis_log_t, redis_log_t)
|
||||||
manage_lnk_files_pattern(redis_t, redis_log_t, redis_log_t)
|
manage_lnk_files_pattern(redis_t, redis_log_t, redis_log_t)
|
||||||
logging_log_filetrans(redis_t, redis_log_t, dir)
|
logging_log_filetrans(redis_t, redis_log_t, dir)
|
||||||
|
|
||||||
|
files_search_var_lib(redis_t)
|
||||||
manage_dirs_pattern(redis_t, redis_var_lib_t, redis_var_lib_t)
|
manage_dirs_pattern(redis_t, redis_var_lib_t, redis_var_lib_t)
|
||||||
manage_files_pattern(redis_t, redis_var_lib_t, redis_var_lib_t)
|
manage_files_pattern(redis_t, redis_var_lib_t, redis_var_lib_t)
|
||||||
manage_lnk_files_pattern(redis_t, redis_var_lib_t, redis_var_lib_t)
|
manage_lnk_files_pattern(redis_t, redis_var_lib_t, redis_var_lib_t)
|
||||||
|
|
Loading…
Reference in New Issue