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

unix_socket plugin can NOT disable in [mariadb-10.x]

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Incomplete
    • None
    • N/A
    • None
    • None

    Description

      as we know, unix_socket plugin is installed from mariadb 10.4 by default, but this plugin has weakness point in security, so I'd like to disable it when DB start.

      but, when I turn it off in my.cnf like this, it doesn't work,

      [mariadb-10.4]
      unix_socket=OFF
      

      and log show that:

      2023-04-04  9:44:48 0 [Note] InnoDB: Loading buffer pool(s) from /data/db/ib_buffer_pool
      2023-04-04  9:44:48 0 [Note] Plugin 'FEEDBACK' is disabled.
      230404  9:44:48 server_audit: MariaDB Audit Plugin version 1.4.13 STARTED.
      

      so when I disable plugin in section [mariadb], it works.

      [mariadb]
      unix_socket=OFF
      

      and log show that:

      2023-04-04  9:38:16 0 [Note] InnoDB: Loading buffer pool(s) from /data/db/ib_buffer_pool
      2023-04-04  9:38:16 0 [Note] Plugin 'FEEDBACK' is disabled.
      2023-04-04  9:38:16 0 [Note] Plugin 'unix_socket' is disabled.
      230404  9:38:16 server_audit: MariaDB Audit Plugin version 1.4.13 STARTED.
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            shawn2016 Shawn Yan
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.