forked from pool/selinux-policy
cf699a6f0f
- New patches: * fix_accountsd.patch * fix_automount.patch * fix_colord.patch * fix_mcelog.patch * fix_sslh.patch * fix_nagios.patch * fix_openvpn.patch * fix_cron.patch * fix_usermanage.patch * fix_smartmon.patch * fix_geoclue.patch * suse_specific.patch Default systems should now work without selinuxuser_execmod - Removed xdm_entrypoint_pam.patch, necessary change is in fix_unconfineduser.patch - Enable SUSE specific settings again OBS-URL: https://build.opensuse.org/request/show/785956 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/selinux-policy?expand=0&rev=75
25 lines
1.3 KiB
Diff
25 lines
1.3 KiB
Diff
Index: fedora-policy/policy/modules/contrib/nagios.fc
|
|
===================================================================
|
|
--- fedora-policy.orig/policy/modules/contrib/nagios.fc
|
|
+++ fedora-policy/policy/modules/contrib/nagios.fc
|
|
@@ -24,6 +24,7 @@
|
|
/var/log/pnp4nagios(/.*)? gen_context(system_u:object_r:nagios_log_t,s0)
|
|
|
|
/var/lib/pnp4nagios(/.*)? gen_context(system_u:object_r:nagios_var_lib_t,s0)
|
|
+/var/lib/nagios(/.*)? gen_context(system_u:object_r:nagios_var_lib_t,s0)
|
|
|
|
/var/run/nagios.* gen_context(system_u:object_r:nagios_var_run_t,s0)
|
|
|
|
Index: fedora-policy/policy/modules/contrib/nagios.te
|
|
===================================================================
|
|
--- fedora-policy.orig/policy/modules/contrib/nagios.te
|
|
+++ fedora-policy/policy/modules/contrib/nagios.te
|
|
@@ -155,6 +155,7 @@ allow nagios_t nagios_spool_t:file map;
|
|
manage_files_pattern(nagios_t, nagios_var_lib_t, nagios_var_lib_t)
|
|
manage_fifo_files_pattern(nagios_t, nagios_var_lib_t, nagios_var_lib_t)
|
|
manage_dirs_pattern(nagios_t, nagios_var_lib_t, nagios_var_lib_t)
|
|
+manage_sock_files_pattern(nagios_t, nagios_var_lib_t, nagios_var_lib_t)
|
|
files_var_lib_filetrans(nagios_t, nagios_var_lib_t, { dir file fifo_file })
|
|
|
|
kernel_read_system_state(nagios_t)
|