Details

    • Type: Bug
    • Status: Closed
    • 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.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            serg Sergei Golubchik added a comment -

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

            Show
            serg Sergei Golubchik added a comment - Ok. This was caused by this binutils bug . I've upgraded binutils on CentOS6-amd64 builder.

              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:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours
                  6h