Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-2728

maxscale .secret file permission

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 2.4.3
    • maxkeys
    • None

    Description

      There is some additional documentation required when installing Maxscale 2.4.2 on CentOS 7

      $ yum -y install maxscale-2.4.2-1.centos.7.x86_64
      $ maxkeys
      $ maxpasswd my-maxscale-plaintext-password
      

      Output from maxpasswd is placed in the /etc/maxscale.cnf file

      The problem is that the /var/lib/maxscale/.secrets file is created as owned by the user who ran the commands rather than maxscale.

      This leads to the following error when starting MaxScale:

      Access for secrets file [/var/lib/maxscale/.secrets] failed. Error 13, Permission denied.

      It can be fixed with:

      $ chown maxscale: /var/lib/maxscale/.secrets
      

      The yum install creates the maxscale user but does not advise that you change to that user to perform the other actions.

      Attachments

        Activity

          People

            markus makela markus makela
            muhammad.irfan Muhammad Irfan
            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.