Details
Description
A user reported the following error in /var/log/audit/audit.log when trying to start a cluster node:
type=AVC msg=audit(1473264262.081:132): avc: denied { open } for pid=11191 comm="mysqld" path="/tmp/wsrep_recovery.mx7VGR" dev="dm-1" ino=101950206 scontext=system_u:system_r:mysqld_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=file
|
This user fixed it with the following addition to their SELinux policy:
allow mysqld_t initrc_tmp_t:file open;
|
Should this file actually be created in the mysqld_tmp_t context, or should we modify our SELinux policy to allow access to files in the initrc_tmp_t context?
Attachments
Issue Links
- causes
-
MDEV-13950 mysqld_safe could not start Galera node after upgrade to 10.1.28 or 10.2.9
- Closed
-
MDEV-14063 mariadb102-server 10.2.9 cannot startup with galera
- Closed
- relates to
-
MDEV-10753 selinux policies prevent 10.1.17-1.el7.centos to access: initrc_tmp_t + var_log_t
- Closed