Closed asnell closed 5 years ago
If SELinux is enabled and the DB directory is created under /var/lib (the default location), the DB directory may be created with security context "var_lib_t". Unless security context is restored to "mongod_var_lib_t" mongod will fail to start.
Thanks for the constructive feedback - I have (I think!) updated the PR to take your suggestions into account
This was noted and included in #51 tested on Centos 7.5 vanilla install.
If SELinux is enabled and the DB directory is created under /var/lib (the default location), the DB directory may be created with security context "var_lib_t". Unless security context is restored to "mongod_var_lib_t" mongod will fail to start.