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

Multiple key management plugins refuse to load with generic error

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.5, 10.6, 10.2(EOL), 10.3(EOL), 10.4(EOL), 10.7(EOL), 10.8(EOL)
    • 10.11
    • Encryption, Plugins
    • None

    Description

      When more than one key management plugin are turned on either on server startup or at runtime, the second and other plugins fail to load with the error

      10.2 27b5d814

      MariaDB [test]> install soname 'example_key_management';
      ERROR 1123 (HY000): Can't initialize function 'example_key_management'; Plugin initialization function failed.
      

      2022-04-11  0:41:54 140483355105024 [ERROR] Plugin 'example_key_management' registration as a ENCRYPTION failed.
      

      It was a theoretical problem till now, as we only had one "real" plugin, but now with hashicorp being added it becomes more practical.

      Probably the rejection is intentional, but it would be good to produce a more comprehensive error message (in the log at least).

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.