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

Add information about selinux contexts to community pages

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • # Replies:
      1
    • Last comment by Customer:
      false

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              7 years, 43 weeks, 1 day ago
              Date of 1st Reply: