]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
selinux: clip the ceph context to ceph-mgr also
authorKefu Chai <kchai@redhat.com>
Fri, 2 Jun 2017 08:17:04 +0000 (16:17 +0800)
committerSage Weil <sage@redhat.com>
Fri, 2 Jun 2017 17:06:50 +0000 (13:06 -0400)
Signed-off-by: Kefu Chai <kchai@redhat.com>
selinux/ceph.fc

index 31926895c465b5692c67fa801c89205c016f353e..df47fe10b495f8692c2a160e43bb4cef18bbb567 100644 (file)
@@ -1,6 +1,7 @@
 /etc/rc\.d/init\.d/ceph                --      gen_context(system_u:object_r:ceph_initrc_exec_t,s0)
 /etc/rc\.d/init\.d/radosgw     --      gen_context(system_u:object_r:ceph_initrc_exec_t,s0)
 
+/usr/bin/ceph-mgr              --      gen_context(system_u:object_r:ceph_exec_t,s0)
 /usr/bin/ceph-mon              --      gen_context(system_u:object_r:ceph_exec_t,s0)
 /usr/bin/ceph-mds              --      gen_context(system_u:object_r:ceph_exec_t,s0)
 /usr/bin/ceph-osd              --      gen_context(system_u:object_r:ceph_exec_t,s0)