minor updates redis module to be able to start the app

Signed-off-by: Alexander Miroshnichenko <alex@millerson.name>
This commit is contained in:
Alexander Miroshnichenko 2019-01-30 16:21:58 +03:00 committed by Chris PeBenito
parent b6396ffe19
commit 2adbd7f732
1 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,7 @@ files_config_file(redis_conf_t)
# 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:unix_stream_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)
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_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)