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

[OM] Add more details about working around SELinux constraints

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Ops Manager
    • Labels:
      None
    • Environment:
      SELinux

      Description

      Needs additional work done on Server docs to which we will link when complete.

      We just had just problem while setting up Ops Manager at a client whose policy is to have SELinux enabled on all production environment, so disabling is not an option.

      We needed to have dbPath set to /db and so SELinux was blocking even though permissions were correct.

      The docs at https://docs.mongodb.com/manual/tutorial/install-mongodb-enterprise-on-red-hat/#install-enterprise-rhel-configure-selinux don't reflect the required solution:

      sudo chcon -Rv --type=mongod_var_lib_t /<dbPath>

      Maybe it could be added and explained under the section on semanage port

      Related to:
      https://jira.mongodb.org/browse/DOCS-4170

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            tony.sansone@mongodb.com Anthony Sansone (Inactive)
            Reporter:
            nicholas.cottrell@mongodb.com Nic Cottrell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              5 years, 11 weeks, 5 days ago