ceph-mgr loads modules which require read access and this causes a
denial on el7.
Fixes: https://tracker.ceph.com/issues/44216
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
type urandom_device_t;
type setfiles_t;
type nvme_device_t;
+ type httpd_config_t;
class sock_file unlink;
class tcp_socket name_connect_t;
class lnk_file { create getattr read unlink };
allow ceph_t init_var_run_t:file getattr;
allow init_t ceph_t:process2 { nnp_transition nosuid_transition };
+allow ceph_t httpd_config_t:dir search;
+
fsadm_manage_pid(ceph_t)
#============= setfiles_t ==============