Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.1.16
-
None
-
CentOS 7.2
-
10.1.17-1
Description
In MDEV-10298, NoNewPrivileges=true was added to the systemd service file. But when SELinux is enabled, this prevents mysqld from transitioning from init_t to mysqld_t, and that in turn prevents connecting from httpd_t. So after upgrading to 10.1.16, I see in ps auxZ:
system_u:system_r:init_t:s0 mysql 4080 11.8 7.2 779200 124164 ? Ssl 08:54 0:00 /usr/sbin/mysqld
|
When I comment out the NoNewPrivileges=true, and restart, I see:
system_u:system_r:mysqld_t:s0 mysql 4185 27.0 7.3 779200 126220 ? Ssl 08:55 0:00 /usr/sbin/mysqld
|
Attachments
Issue Links
- duplicates
-
MDEV-10405 mysql.sock gets created with different SELinux context
- Closed
- is caused by
-
MDEV-10298 Improve systemd service hardening
- Closed
- is duplicated by
-
MDEV-16718 Job for mariadb.service failed because the control process exited with error code.
- Closed
- relates to
-
MDEV-10519 MariaDB fails to start after upgrade from 10.1.14 - 10.1.16 (InnoDB Encryption)
- Closed
- links to