-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The current SELinux policy does not cover radosgw daemon. This patch introduces the SELinux support for radosgw daemon (civetweb only). Signed-off-by: Boris Ranto <[email protected]>
- Loading branch information
Showing
4 changed files
with
65 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
/etc/rc\.d/init\.d/ceph -- gen_context(system_u:object_r:ceph_initrc_exec_t,s0) | ||
/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-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) | ||
/usr/bin/radosgw -- gen_context(system_u:object_r:ceph_exec_t,s0) | ||
|
||
/var/lib/ceph(/.*)? gen_context(system_u:object_r:ceph_var_lib_t,s0) | ||
|
||
/var/log/ceph(/.*)? gen_context(system_u:object_r:ceph_log_t,s0) | ||
/var/log/radosgw(/.*)? gen_context(system_u:object_r:ceph_log_t,s0) | ||
|
||
/var/run/ceph(/.*)? gen_context(system_u:object_r:ceph_var_run_t,s0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters