Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5.37, 10.0.9
-
None
-
None
-
Centos 6
Description
When trying to install TokuDB with SELinux
MariaDB [(none)]> install soname 'ha_tokudb';
|
ERROR 1126 (HY000): Can't open shared library /usr/lib64/mysql/plugin/ha_tokudb.so' (errno: 2, cannot enable executable stack as shared object requires: Permission denied)
|
The executable stack flag has to be cleared since the library doesn't require it, which obviously triggers SELinux permission issue.
execstack -c /usr/lib64/mysql/plugin/ha_tokudb.so will clear the flag and make the library loadable again.