Comments - SELinux
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
I'm running MariaDB 10.6.17 on CentOS 7 and the log files are being sent to /var/log/mysql/. SELinux is enabled and the proper file contexts are set. But it's telling me that mariadb-admin needs write access on the sock_file mysql.sock and I don't see that mentioned.
However, logrotate fails to write to the new log file after it's created. When I check what SELinux is saying I see the following: