Details
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.
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Ok. This was caused by this binutils bug. I've upgraded binutils on CentOS6-amd64 builder.