Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-628

Add information about selinux contexts to community pages

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 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.

            Assignee:
            sam.kleinman Sam Kleinman (Inactive)
            Reporter:
            sam.weaver Sam Weaver
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              11 years, 28 weeks, 3 days ago