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

Failed to enable encryption of temporary files in mariadb 10.3.3

Details

    Description

      I want to use rest encryption and set encrypt-tmp-files in the config file, and encounter the following error:

      mariadb_1  | ERROR: mysqld failed while attempting to check config
      mariadb_1  | command was: "mysqld --verbose --help --log-bin-index=/tmp/tmp.5KIX2Ab1Oo"
      mariadb_1  |
      mariadb_1  | 2018-01-07  8:58:45 0 [Note] Plugin 'FEEDBACK' is disabled.
      mariadb_1  | 2018-01-07  8:58:45 0 [Warning] Could not open mysql.plugin table. Some options may be missing from the help text
      mariadb_1  | 2018-01-07  8:58:45 0 [ERROR] Failed to enable encryption of temporary files
      mariadb_1  | 2018-01-07  8:58:45 0 [ERROR] Aborting
      

      config file is:

      [mysqld]
       
      plugin-load-add = file_key_management
      file-key-management-filename = /mnt/keys/keys.enc
      file_key_management_filekey = secret
      file_key_management_encryption_algorithm = AES_CTR
       
      innodb-encrypt-tables
      innodb-encrypt-log
      innodb-encryption-threads = 4
      innodb-tablespaces-encryption
       
      aria-encrypt-tables
      encrypt_binlog
      encrypt-tmp-files
      encrypt-tmp-disk-tables = 1
      

      I run mariadb(10.3.3) in docker. when I set encrypt-tmp-files = 0, everything is fine.
      How can I fix it?

      Attachments

        Activity

          atomd atomd created issue -
          elenst Elena Stepanova made changes -
          Field Original Value New Value
          Component/s Encryption [ 11200 ]
          Fix Version/s 10.2 [ 14601 ]
          Fix Version/s 10.1 [ 16100 ]
          Affects Version/s 10.2 [ 14601 ]
          Affects Version/s 10.1 [ 16100 ]
          Assignee Sergei Golubchik [ serg ]
          elenst Elena Stepanova made changes -
          Status Open [ 1 ] Confirmed [ 10101 ]
          julien.fritsch Julien Fritsch made changes -
          Fix Version/s 10.1 [ 16100 ]
          serg Sergei Golubchik made changes -
          Status Confirmed [ 10101 ] In Progress [ 3 ]
          serg Sergei Golubchik made changes -
          Status In Progress [ 3 ] Stalled [ 10000 ]
          serg Sergei Golubchik made changes -
          Fix Version/s 10.3 [ 22126 ]
          Fix Version/s 10.4 [ 22408 ]
          Fix Version/s 10.5 [ 23123 ]
          serg Sergei Golubchik made changes -
          Fix Version/s 10.2.37 [ 25112 ]
          Fix Version/s 10.3.28 [ 25111 ]
          Fix Version/s 10.4.18 [ 25110 ]
          Fix Version/s 10.5.9 [ 25109 ]
          Fix Version/s 10.2 [ 14601 ]
          Fix Version/s 10.3 [ 22126 ]
          Fix Version/s 10.4 [ 22408 ]
          Fix Version/s 10.5 [ 23123 ]
          Resolution Fixed [ 1 ]
          Status Stalled [ 10000 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 84761 ] MariaDB v4 [ 153521 ]

          People

            serg Sergei Golubchik
            atomd atomd
            Votes:
            2 Vote for this issue
            Watchers:
            5 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.