-
Type: Task
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
Nowhere on the community site does it mention about running MongoDB with selinux. It does in fact set itself up with the correct selinux contexts when deploying on Fedora through Yum:
[sweaver@localhost Desktop]$ sudo semanage fcontext -l | grep mongo
/etc/rc\.d/init\.d/mongod regular file system_u:object_r:mongod_initrc_exec_t:s0
/usr/bin/mongod regular file system_u:object_r:mongod_exec_t:s0
/usr/share/aeolus-conductor/dbomatic/dbomatic regular file system_u:object_r:mongod_exec_t:s0
/var/lib/mongodb(/.*)? all files system_u:object_r:mongod_var_lib_t:s0
/var/log/mongodb(/.*)? all files system_u:object_r:mongod_log_t:s0
/var/run/aeolus/dbomatic\.pid regular file system_u:object_r:mongod_var_run_t:s0
/var/run/mongodb(/.*)? all files system_u:object_r:mongod_var_run_t:s0
Might be useful to mention this somewhere as I had to actually load Fedora up and check myself that it would run ok in Enforcing mode.