Details
-
Bug
-
Status: Confirmed (View Workflow)
-
Critical
-
Resolution: Unresolved
-
10.5.9
-
None
-
CentOS Linux release 8.3.2011
Description
Tried couple of locations for the server's `socket` parameter
These two end up with correct label mysqld_var_run_t
/var/run/mysql/imthesocket.sock
/var/run/mysqld/imalsothesocket.sock
And these two have incorrect labels
/var/run/mariadb/itriedtobeasocket.sock is labeled var_run_t
/var/lib/mysql/mysql.sock is labeled as mysqld_db_t
Both of which can be fixed by running restorecon on them which flips them back to mysqld_var_run_t
Also might be related to older issue MDEV-10405 and 10.3.27 wasn't affected by this as it was the starting point of the upgrade to 10.5.8. Clean install is also affected.
Attachments
Issue Links
- relates to
-
MDEV-30520 SELinux incorrectly labeled mariadbd
- Closed
-
MDEV-10405 mysql.sock gets created with different SELinux context
- Closed
- links to