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

MariaDB upgrade fails in postinst (DEB)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Won't Fix
    • 10.0.25
    • N/A
    • Packaging
    • None
    • Debian Linux, Ubuntu Linux

    Description

      mariadb-server-10.0 package was failing with exit code 7.
      After trying to track down the exact cause using a number of manual debug techniques we found the error was happening when running "/bin/bash /usr/bin/mysql_install_db --rpm --user=mysql --disable-log-bin" in the postinst script. This was because variables in the my.cnf file were not recognised.

      The following varliables needed to be commented out for it to run:

      query_response_time_stats=ON
      server_audit_output_type=syslog
      server_audit_logging=ON
      server_audit_events=QUERY_DDL

      Uncommenting them after the upgrade seems to be causing no issues.

      Attachments

        Issue Links

          Activity

            People

              svoj Sergey Vojtovich
              arjen Arjen Lentz
              Votes:
              1 Vote for this issue
              Watchers:
              6 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.