[CentOS] Install Mariadb on Centos 7 fails

Fri Sep 23 17:03:28 UTC 2016
Warren Young <wyml at etr-usa.com>

On Sep 23, 2016, at 10:36 AM, cpolish at surewest.net wrote:
> What do these commands show?
>    ls -lF /var/log/mysqld.log
>    ls -lZ /var/log/mysqld.log
>    getenforce

Simply saying 'sudo restorecon -R /var/log’ may fix it by resetting SELinux file permissions to their intended defaults.

That won’t help if you have explicit SELinux labels applied to that one log file, though.  The ls -lZ output (from after the restorecon command) would be necessary to understand the complaint from mysqld_safe in that case.