forked from mysql/mysql-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug#22286481 UNABLE TO START SERVER/CREATE DB WHEN SELINUX ENABLED WI…
…TH ENFORCING Bug#22314098 MYSQL 5.7 SERVER START FAILING AFTER INSTALLATION Due to SELinux policy mysqld can't read init-file located elsewhere than /var/lib/mysql. --initialize wants clean datadir. Move installing of validate password plugin to after initialize is done and use /var/lib/mysql as directory for init-file option. Use of other directory than /var/lib/mysql caused SELinux to deny access to file used as argument to --init-file. This broke initscript for new installations SELinux on Fedora don't accept access to /tmp for mysqld, use /var/tmp instead.
- Loading branch information
Showing
2 changed files
with
27 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters