Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-947

Fix password check in post-mysql-install

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 1.0.11
    • Icebox
    • ?
    • None

    Description

      If we look at the code, we can see that post-mysql-install just greps .my.cnf for a password. This is likely to lead to problems in a bunch of scenarios, such as if someone has multiple configuration sections with different passwords defined. See here:

      https://github.com/mariadb-corporation/mariadb-columnstore-engine/blob/893cca974df93478050ff23b322a97e5f3a1e78e/oam/install_scripts/post-mysql-install#L13

      We should probably make this check more robust. Could it be changed to use my_print_defaults or something?

      https://mariadb.com/kb/en/library/my_print_defaults/

      Attachments

        Activity

          People

            hill David Hill (Inactive)
            GeoffMontee Geoff Montee (Inactive)
            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.