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

Setting server_audit_mode at runtime to 0 is allowed but has no effect

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.5.37, 10.0.10
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      From test comments:

      > - setting server_audit_mode at runtime to 0 is allowed but has no effect
      i wouldn't do anything about it. That variable is not to be used by a customer anyway.

      This is a strange.
      If the variable is not needed at all, just remove it.
      If the variable is set by the server automatically and should not be changed by a human being, make it a status variable.
      If the variable is needed but as static, make it read-only.
      If the variable needs to be dynamic, make it work.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            elenst Elena Stepanova added a comment -

            Addition (considering the description in https://mariadb.com/kb/en/about-the-mariadb-audit-plugin/):
            ...
            If the variable is intended for debug, make it debug-only.

            There is even an actual question from an actual user for that:
            http://www.skysql.com/blogs/ralf-gebhardt/activating-auditing-mariadb-and-mysql-5-minutes (which, btw, appears in google search higher than the list of options in KB).

            Show
            elenst Elena Stepanova added a comment - Addition (considering the description in https://mariadb.com/kb/en/about-the-mariadb-audit-plugin/): ... If the variable is intended for debug, make it debug-only. There is even an actual question from an actual user for that: http://www.skysql.com/blogs/ralf-gebhardt/activating-auditing-mariadb-and-mysql-5-minutes (which, btw, appears in google search higher than the list of options in KB).

              People

              • Assignee:
                holyfoot Alexey Botchkov
                Reporter:
                elenst Elena Stepanova
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: