Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mysql client and server installation for CentOS 7 #341

Open
wants to merge 1 commit into
base: release-chef-11.10
Choose a base branch
from

Conversation

ljay79
Copy link

@ljay79 ljay79 commented Oct 14, 2015

Running these cookbooks on a local vm CentOS 7 instances fails.
mysql::client_install fails when trying to install the package "mysql55_client" which is not available on a standard CentOS 7 installation. The correct package together with "mariadb-devel" is "mariadb".

Similar issues regarding mariadb-server and init.d scripts as well as some minor path issues occur for the mysql::server recipie on CentOS7.

@ljay79
Copy link
Author

ljay79 commented Oct 22, 2015

This "fix" is not proper.
After a reboot of the system, it will not recreate the /var/run/mysqld folder instead it keeps creating the original /var/run/mariadb folder.
I found a way of changing it in SELinux file context manager, however, i cant provide a proper recipe implementation yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant