Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-17847

Change our SELinux context on RHEL from mongod_var_lib_t to mongod_dbpath_t

    • Type: Icon: Improvement Improvement
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Packaging
    • BUILD 1 04/03/15, BUILD 2 04/24/15, BUILD 3 05/15/15

      This is related to DOCS-4170.

      Currently, when we install the MongoDB RPMs on RHEL, we apply the security context "mongod_var_lib_t" to the /var/lib/mongo, which is the default dbpath directory.

      However, this isn't particularly descriptive of the purpose of this directory.

      Furthermore, if a user were to change their dbpath, from a naming perspective it doesn't make sense to re-use mongod_var_lib_t.

      One suggestion would be to make this security context something a little more descriptive, such as mongod_dbpath_t, which could then be applied as appropriate to wherever the dbpath is.

            Assignee:
            ernie.hershey@mongodb.com Ernie Hershey (Inactive)
            Reporter:
            victor.hooi Victor Hooi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: