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

Statically compiled encryption plugins do not work in mariadb-backup

Details

    Description

      In 10.9, when compiling hashicorp statically many InnoDB and mariabackup tests fails.

      To repeat:
      compile MariaDB with hashicorp statically and run:
      mtr mariabackup.encrypted_page_corruption

      Test fails with:
      mysqltest: At line 76: command "rmdir" failed with error: 1 my_errno: 2 errno: 2
      and var/log/mysqld.1.err contains a lot of failures like:

      2022-06-13 12:14:35 0 [ERROR] InnoDB: The page [page id: space=5, page number=3] in file './test/t1.ibd' cannot be decrypted.
      2022-06-13 12:14:35 0 [Note] InnoDB: However key management plugin or used key_version 1 is not found or used encryption algorithm or method does not match.

      Attachments

        Activity

          monty Michael Widenius created issue -
          monty Michael Widenius made changes -
          Field Original Value New Value
          Assignee Julius Goryavsky [ sysprg ]
          sysprg Julius Goryavsky made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          sysprg Julius Goryavsky made changes -
          Assignee Julius Goryavsky [ sysprg ] Marko Mäkelä [ marko ]
          marko Marko Mäkelä made changes -
          Assignee Marko Mäkelä [ marko ] Vladislav Vaintroub [ wlad ]
          marko Marko Mäkelä made changes -
          Component/s Backup [ 13902 ]
          Affects Version/s 10.9 [ 26905 ]
          Affects Version/s 10.10 [ 27530 ]
          Affects Version/s 10.9,10.10 [ 28306 ]
          Summary Compiling hashicorp statically causes encryption tests to fail Statically compiled encryption plugins do not work in mariadb-backup
          wlad Vladislav Vaintroub made changes -
          Priority Blocker [ 1 ] Minor [ 4 ]
          wlad Vladislav Vaintroub made changes -
          Fix Version/s 10.4.26 [ 27511 ]
          Fix Version/s 10.5.17 [ 27509 ]
          Fix Version/s 10.6.9 [ 27507 ]
          Fix Version/s 10.7.5 [ 27505 ]
          Fix Version/s 10.8.4 [ 27503 ]
          Fix Version/s 10.9.2 [ 27115 ]
          Fix Version/s 10.9 [ 26905 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          wlad Vladislav Vaintroub made changes -
          Component/s Compiling [ 11001 ]
          Component/s Backup [ 13902 ]
          Component/s Encryption [ 11200 ]
          julien.fritsch Julien Fritsch made changes -
          julien.fritsch Julien Fritsch made changes -
          Labels Cloned
          julien.fritsch Julien Fritsch made changes -
          julien.fritsch Julien Fritsch made changes -
          Labels Cloned

          People

            wlad Vladislav Vaintroub
            monty Michael Widenius
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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