Try to set the collectd redis monitoring straight with selinux.
This commit is contained in:
parent
6928ea27fc
commit
7ff8a5e85b
4 changed files with 56 additions and 0 deletions
BIN
roles/collectd/fcomm-queue/files/selinux/fi-collectd-fcomm.mod
Normal file
BIN
roles/collectd/fcomm-queue/files/selinux/fi-collectd-fcomm.mod
Normal file
Binary file not shown.
BIN
roles/collectd/fcomm-queue/files/selinux/fi-collectd-fcomm.pp
Normal file
BIN
roles/collectd/fcomm-queue/files/selinux/fi-collectd-fcomm.pp
Normal file
Binary file not shown.
|
@ -0,0 +1,17 @@
|
|||
|
||||
module fi-collectd-fcomm 1.0;
|
||||
|
||||
require {
|
||||
type bin_t;
|
||||
type collectd_t;
|
||||
type ldconfig_exec_t;
|
||||
type shell_exec_t;
|
||||
class file { read getattr open ioctl execute execute_no_trans };
|
||||
class lnk_file { read };
|
||||
}
|
||||
|
||||
allow collectd_t bin_t:file ioctl;
|
||||
allow collectd_t bin_t:lnk_file read;
|
||||
allow collectd_t ldconfig_exec_t:file { read execute open execute_no_trans };
|
||||
|
||||
allow collectd_t shell_exec_t:file { getattr execute_no_trans };
|
Loading…
Add table
Add a link
Reference in a new issue