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

mariadb-install-db shows warning on missing directory $pamtooldir/auth_pam_tool_dir

    XMLWordPrintable

Details

    Description

      The problem shows up if you compile MariaDB without PAM.
      The fix is trivial. Before doing chown, the script should check if directory exists.
      Inside the file ./scripts/mysql_install_db.sh
      change line 496 from

        if test -z "$srcdir" -a "$in_rpm" -eq 0
      

      to

        if test -z "$srcdir" -a "$in_rpm" -eq 0 -a -d "$pamtooldir/auth_pam_tool_dir"
      

      Attachments

        Activity

          People

            danblack Daniel Black
            Karol Karol Roslaniec
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.