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

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

          Transition Time In Source Status Execution Times
          Daniel Black made transition -
          Open Closed
          37d 11h 23m 1

          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.