remove mongod labeling from cloudform.fc
This commit is contained in:
parent
bf38d6fee2
commit
345f520dd6
@ -12648,20 +12648,16 @@ index 4a5b3d1..cd146bd 100644
|
|||||||
')
|
')
|
||||||
diff --git a/cloudform.fc b/cloudform.fc
|
diff --git a/cloudform.fc b/cloudform.fc
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..6cc6774
|
index 0000000..d0501e3
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/cloudform.fc
|
+++ b/cloudform.fc
|
||||||
@@ -0,0 +1,28 @@
|
@@ -0,0 +1,19 @@
|
||||||
+/etc/rc\.d/init\.d/iwhd -- gen_context(system_u:object_r:iwhd_initrc_exec_t,s0)
|
+/etc/rc\.d/init\.d/iwhd -- gen_context(system_u:object_r:iwhd_initrc_exec_t,s0)
|
||||||
+/etc/rc\.d/init\.d/mongod -- gen_context(system_u:object_r:mongod_initrc_exec_t,s0)
|
|
||||||
+
|
+
|
||||||
+/usr/bin/cloud-init -- gen_context(system_u:object_r:cloud_init_exec_t,s0)
|
+/usr/bin/cloud-init -- gen_context(system_u:object_r:cloud_init_exec_t,s0)
|
||||||
+/usr/libexec/min-metadata-service -- gen_context(system_u:object_r:cloud_init_exec_t,s0)
|
+/usr/libexec/min-metadata-service -- gen_context(system_u:object_r:cloud_init_exec_t,s0)
|
||||||
+/usr/bin/deltacloudd -- gen_context(system_u:object_r:deltacloudd_exec_t,s0)
|
+/usr/bin/deltacloudd -- gen_context(system_u:object_r:deltacloudd_exec_t,s0)
|
||||||
+/usr/bin/iwhd -- gen_context(system_u:object_r:iwhd_exec_t,s0)
|
+/usr/bin/iwhd -- gen_context(system_u:object_r:iwhd_exec_t,s0)
|
||||||
+/usr/bin/mongod -- gen_context(system_u:object_r:mongod_exec_t,s0)
|
|
||||||
+
|
|
||||||
+/usr/share/aeolus-conductor/dbomatic/dbomatic -- gen_context(system_u:object_r:mongod_exec_t,s0)
|
|
||||||
+
|
+
|
||||||
+/usr/lib/systemd/system/cloud-config.* -- gen_context(system_u:object_r:cloud_init_unit_file_t,s0)
|
+/usr/lib/systemd/system/cloud-config.* -- gen_context(system_u:object_r:cloud_init_unit_file_t,s0)
|
||||||
+
|
+
|
||||||
@ -12670,15 +12666,10 @@ index 0000000..6cc6774
|
|||||||
+/var/lib/cloud(/.*)? gen_context(system_u:object_r:cloud_var_lib_t,s0)
|
+/var/lib/cloud(/.*)? gen_context(system_u:object_r:cloud_var_lib_t,s0)
|
||||||
+/var/log/cloud-init\.log.* -- gen_context(system_u:object_r:cloud_log_t,s0)
|
+/var/log/cloud-init\.log.* -- gen_context(system_u:object_r:cloud_log_t,s0)
|
||||||
+/var/lib/iwhd(/.*)? gen_context(system_u:object_r:iwhd_var_lib_t,s0)
|
+/var/lib/iwhd(/.*)? gen_context(system_u:object_r:iwhd_var_lib_t,s0)
|
||||||
+/var/lib/mongo.* gen_context(system_u:object_r:mongod_var_lib_t,s0)
|
|
||||||
+
|
+
|
||||||
+/var/log/deltacloud-core(/.*)? gen_context(system_u:object_r:deltacloudd_log_t,s0)
|
+/var/log/deltacloud-core(/.*)? gen_context(system_u:object_r:deltacloudd_log_t,s0)
|
||||||
+/var/log/iwhd\.log.* -- gen_context(system_u:object_r:iwhd_log_t,s0)
|
+/var/log/iwhd\.log.* -- gen_context(system_u:object_r:iwhd_log_t,s0)
|
||||||
+/var/log/mongo.* gen_context(system_u:object_r:mongod_log_t,s0)
|
|
||||||
+/var/log/aeolus-conductor/dbomatic\.log.* -- gen_context(system_u:object_r:mongod_log_t,s0)
|
|
||||||
+
|
+
|
||||||
+/var/run/mongo.* gen_context(system_u:object_r:mongod_var_run_t,s0)
|
|
||||||
+/var/run/aeolus/dbomatic\.pid -- gen_context(system_u:object_r:mongod_var_run_t,s0)
|
|
||||||
+/var/run/iwhd\.pid -- gen_context(system_u:object_r:iwhd_var_run_t,s0)
|
+/var/run/iwhd\.pid -- gen_context(system_u:object_r:iwhd_var_run_t,s0)
|
||||||
diff --git a/cloudform.if b/cloudform.if
|
diff --git a/cloudform.if b/cloudform.if
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
@ -44194,6 +44185,26 @@ index b94102e..25d1d33 100644
|
|||||||
+ postgresql_stream_connect(mojomojo_script_t)
|
+ postgresql_stream_connect(mojomojo_script_t)
|
||||||
+ ')
|
+ ')
|
||||||
+')
|
+')
|
||||||
|
diff --git a/mongodb.fc b/mongodb.fc
|
||||||
|
index 6fcfc31..85dcd4b 100644
|
||||||
|
--- a/mongodb.fc
|
||||||
|
+++ b/mongodb.fc
|
||||||
|
@@ -1,9 +1,12 @@
|
||||||
|
/etc/rc\.d/init\.d/mongod -- gen_context(system_u:object_r:mongod_initrc_exec_t,s0)
|
||||||
|
|
||||||
|
-/usr/bin/mongod -- gen_context(system_u:object_r:mongod_exec_t,s0)
|
||||||
|
+/usr/bin/mongod -- gen_context(system_u:object_r:mongod_exec_t,s0)
|
||||||
|
+/usr/share/aeolus-conductor/dbomatic/dbomatic -- gen_context(system_u:object_r:mongod_exec_t,s0)
|
||||||
|
|
||||||
|
/var/lib/mongo.* gen_context(system_u:object_r:mongod_var_lib_t,s0)
|
||||||
|
|
||||||
|
-/var/log/mongo.* gen_context(system_u:object_r:mongod_log_t,s0)
|
||||||
|
+/var/log/mongo.* gen_context(system_u:object_r:mongod_log_t,s0)
|
||||||
|
+/var/log/aeolus-conductor/dbomatic\.log.* -- gen_context(system_u:object_r:mongod_log_t,s0)
|
||||||
|
|
||||||
|
-/var/run/mongo.* gen_context(system_u:object_r:mongod_var_run_t,s0)
|
||||||
|
+/var/run/mongo.* gen_context(system_u:object_r:mongod_var_run_t,s0)
|
||||||
|
+/var/run/aeolus/dbomatic\.pid -- gen_context(system_u:object_r:mongod_var_run_t,s0)
|
||||||
diff --git a/mongodb.te b/mongodb.te
|
diff --git a/mongodb.te b/mongodb.te
|
||||||
index 169f236..2184be0 100644
|
index 169f236..2184be0 100644
|
||||||
--- a/mongodb.te
|
--- a/mongodb.te
|
||||||
|
Loading…
Reference in New Issue
Block a user