logging
Prosody and ntpd don't just need append access to their log files.
This commit is contained in:
parent
d2a1333fdc
commit
4a95d08da1
|
@ -80,9 +80,8 @@ allow jabberd_t self:netlink_route_socket r_netlink_socket_perms;
|
||||||
manage_files_pattern(jabberd_t, jabberd_lock_t, jabberd_lock_t)
|
manage_files_pattern(jabberd_t, jabberd_lock_t, jabberd_lock_t)
|
||||||
|
|
||||||
allow jabberd_t jabberd_log_t:dir setattr_dir_perms;
|
allow jabberd_t jabberd_log_t:dir setattr_dir_perms;
|
||||||
append_files_pattern(jabberd_t, jabberd_log_t, jabberd_log_t)
|
manage_files_pattern(jabberd_t, jabberd_log_t, jabberd_log_t)
|
||||||
create_files_pattern(jabberd_t, jabberd_log_t, jabberd_log_t)
|
|
||||||
setattr_files_pattern(jabberd_t, jabberd_log_t, jabberd_log_t)
|
|
||||||
logging_log_filetrans(jabberd_t, jabberd_log_t, { file dir })
|
logging_log_filetrans(jabberd_t, jabberd_log_t, { file dir })
|
||||||
|
|
||||||
manage_files_pattern(jabberd_domain, jabberd_spool_t, jabberd_spool_t)
|
manage_files_pattern(jabberd_domain, jabberd_spool_t, jabberd_spool_t)
|
||||||
|
|
|
@ -73,9 +73,8 @@ read_lnk_files_pattern(ntpd_t, ntpd_key_t, ntpd_key_t)
|
||||||
allow ntpd_t ntpd_lock_t:file rw_file_perms;
|
allow ntpd_t ntpd_lock_t:file rw_file_perms;
|
||||||
|
|
||||||
allow ntpd_t ntpd_log_t:dir setattr_dir_perms;
|
allow ntpd_t ntpd_log_t:dir setattr_dir_perms;
|
||||||
append_files_pattern(ntpd_t, ntpd_log_t, ntpd_log_t)
|
manage_dirs_pattern(ntpd_t, ntpd_log_t, ntpd_log_t)
|
||||||
create_files_pattern(ntpd_t, ntpd_log_t, ntpd_log_t)
|
manage_files_pattern(ntpd_t, ntpd_log_t, ntpd_log_t)
|
||||||
setattr_files_pattern(ntpd_t, ntpd_log_t, ntpd_log_t)
|
|
||||||
logging_log_filetrans(ntpd_t, ntpd_log_t, { file dir })
|
logging_log_filetrans(ntpd_t, ntpd_log_t, { file dir })
|
||||||
|
|
||||||
manage_files_pattern(ntpd_t, ntpd_pid_t, ntpd_pid_t)
|
manage_files_pattern(ntpd_t, ntpd_pid_t, ntpd_pid_t)
|
||||||
|
|
Loading…
Reference in New Issue