Skip to content

Instantly share code, notes, and snippets.

@matrixik
Last active October 18, 2016 08:56
Show Gist options
  • Select an option

  • Save matrixik/8b66bc6573f2ffc1591618a79566e4ad to your computer and use it in GitHub Desktop.

Select an option

Save matrixik/8b66bc6573f2ffc1591618a79566e4ad to your computer and use it in GitHub Desktop.
Add SELinux rule for /var/run/mariadb
yum install -y policycoreutils-python
semanage fcontext -a -t mysqld_db_t "/var/run/mariadb(/.*)?" && restorecon -Rv "/var/run/mariadb"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment