Skip to content

Commit

Permalink
selinux: allow chown for self and setattr for /var/run/ceph
Browse files Browse the repository at this point in the history
Fixes: http://tracker.ceph.com/issues/16126

Signed-off-by: Boris Ranto <[email protected]>
  • Loading branch information
b-ranto committed Jun 13, 2016
1 parent e7aff3d commit 2a6c738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions selinux/ceph.te
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ logging_send_syslog_msg(ceph_t)
sysnet_dns_name_resolve(ceph_t)

# basis for future security review
allow ceph_t ceph_var_run_t:sock_file { create unlink write };
allow ceph_t self:capability sys_rawio;
allow ceph_t ceph_var_run_t:sock_file { create unlink write setattr };
allow ceph_t self:capability { sys_rawio chown };

allow ceph_t self:tcp_socket { accept listen };
corenet_tcp_connect_cyphesis_port(ceph_t)
Expand Down

0 comments on commit 2a6c738

Please sign in to comment.