diff options
Diffstat (limited to 'policy/modules/services/mongodb.fc')
-rw-r--r-- | policy/modules/services/mongodb.fc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/policy/modules/services/mongodb.fc b/policy/modules/services/mongodb.fc new file mode 100644 index 000000000..8d8517cd7 --- /dev/null +++ b/policy/modules/services/mongodb.fc @@ -0,0 +1,9 @@ +/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) + +/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) + +/run/mongo.* gen_context(system_u:object_r:mongod_var_run_t,s0) |