saltstack-formulas / mongodb-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
31 stars 121 forks source link

Restore SELinux security context to DB dir #49

Closed asnell closed 5 years ago

asnell commented 6 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.

asnell commented 6 years ago

Thanks for the constructive feedback - I have (I think!) updated the PR to take your suggestions into account

noelmcloughlin commented 5 years ago

This was noted and included in #51 tested on Centos 7.5 vanilla install.