Signed-off-by: Paul Nuzzi <[email protected]>
---
policy/modules/roles/sysadm.te | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/policy/modules/roles/sysadm.te b/policy/modules/roles/sysadm.te
index 2a19751..c7f0a61 100644
--- a/policy/modules/roles/sysadm.te
+++ b/policy/modules/roles/sysadm.te
@@ -148,6 +148,30 @@ optional_policy(`
')
optional_policy(`
+ hadoop_role(sysadm_r, sysadm_t)
+')
+
+optional_policy(`
+ hadoop_datanode_role(sysadm_r, sysadm_t)
+')
+
+optional_policy(`
+ hadoop_jobtracker_role(sysadm_r, sysadm_t)
+')
+
+optional_policy(`
+ hadoop_namenode_role(sysadm_r, sysadm_t)
+')
+
+optional_policy(`
+ hadoop_secondarynamenode_role(sysadm_r, sysadm_t)
+')
+
+optional_policy(`
+ hadoop_tasktracker_role(sysadm_r, sysadm_t)
+')
+
+optional_policy(`
hostname_run(sysadm_t, sysadm_r)
')
@@ -397,6 +421,14 @@ optional_policy(`
yam_run(sysadm_t, sysadm_r)
')
+optional_policy(`
+ zookeeper_role(sysadm_r, sysadm_t)
+')
+
+optional_policy(`
+ zookeeper_server_role(sysadm_r, sysadm_t)
+')
+
ifndef(`distro_redhat',`
optional_policy(`
auth_role(sysadm_r, sysadm_t)