Details
-
New Feature
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
None
-
None
Description
When using custom paths for e.g. datadir nad having SElinux in "enforcing" mode MariaDB server startup will fail with "permission denied" errors as SElinux policies for MariaDB only allow access to the know default paths like datadir=/var/lib/mysql
So SElinux policies need to be adjusted either using manual selinux fcontext calls, or with the help of the audit2allow utility, both requiring some linux adminstration skills and general understanding of SElinux that not necessarily everyone has.
So it would be nice to have mycnf2allow (naming up to debate) utility that parses the my.cnf configuration to determine all custom path settings and generates the necessary policy information in one simple step.