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

mariadb@.service incorrectly changing pam ownership in mariadb-install-db

    XMLWordPrintable

Details

    • Notable changes
    • mariadb systemd mult-instance service was changed to not attempt changes to the permissions on its pam helper server. This prevented unconstructive behaviour and errors in the systemd journal when starting the mariadb@.service.

    Description

      The file mariadb@.service makes the following call:

      ExecStartPre=/usr/bin/mysql_install_db $MYSQLD_MULTI_INSTANCE
      

      Should a call to install a new DB always be done? If it is done, on startup of instance, you see this warning:

      Mar 12 15:39:47 tosap429 mysql_install_db[3841697]: Cannot change ownership of the '/usr/lib64/mysql/plugin/auth_pam_tool_dir' directory
      Mar 12 15:39:47 tosap429 mysql_install_db[3841697]: to the 'sbsddb' user. Check that you have the necessary permissions and try again.
      

      Attachments

        Activity

          People

            danblack Daniel Black
            edward Edward Stoever
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.