Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-5929

TokuDB plugin cannot be enabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.37, 10.0.9
    • Fix Version/s: 5.5.38, 10.0.11
    • Component/s: None
    • 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.

        Attachments

          Activity

            People

            Assignee:
            serg Sergei Golubchik
            Reporter:
            tanj Guillaume Lefranc
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration