mariadb don't start, selinux context problem #228
Labels
Bug
Something isn't working
hacktoberfest
An issue highlighted for the digital ocean Hacktoberfest Event
Cookbook version
1.5.4
Chef-client version
14.8.12
Platform Details
CentOS Linux release 7.6.1810 (Core)
Running on azure
Scenario:
Start mariadb service
Steps to Reproduce:
On CentOS 7.6 with
SELINUX=enforcing
, running the recipemariadb::server
.Expected Result:
Mariadb start
Actual Result:
Mariadb fail to start.
On .err log, we see:
The file
/var/log/mysql/mariadb-bin.index
exists, but with no the correct selinux context.Running
restorecon -vR /var/log/mysql
the output was:And then, mariadb start without problems.
The text was updated successfully, but these errors were encountered: