[MDEV-5929] TokuDB plugin cannot be enabled Created: 2014-03-22  Updated: 2014-05-06  Resolved: 2014-05-06

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.37, 10.0.9
Fix Version/s: 5.5.38, 10.0.11

Type: Bug Priority: Major
Reporter: Guillaume Lefranc Assignee: Sergei Golubchik
Resolution: Fixed Votes: 1
Labels: None
Environment:

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.



 Comments   
Comment by Sergei Golubchik [ 2014-05-02 ]

Ok. This was caused by this binutils bug. I've upgraded binutils on CentOS6-amd64 builder.

Generated at Thu Feb 08 07:08:06 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.