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

version 10.3.29 fails to create "/run/mariadb" directory

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • None
    • N/A
    • Configuration, Packaging
    • Centos-7.9, OraEL-7.9, MariaDB-10.3.29-1.el7 client|common|compat|server

      /etc/yum.repos.d/MariaDB.repo

    Description

      Insert "pid-file=/run/mariadb/mariadb.pid" into installed "/etc/my.cnf.d/server.cnf" and the directory does not get created.

      "/usr/lib/tmpfiles.d/mariadb.conf" contains only one line:
      d /var/lib/mysql 0755 mysql mysql -

      Have to manually create and modify new "/etc/tmpfiles.d/mariadb.conf" to include the requisite "d /run/mariadb 0755 mysql mysql -".

      There are no instructions/notes/warnings about this - just the error message:
      [ERROR] mysqld: Can't create/write to file '/run/mariadb/mariadb.pid'
      (Errcode: 2 "No such file or directory")

      This was not a problem with MariaDB-10.3.28.

      Attachments

        Issue Links

          Activity

            People

              abychko Alexey Bychko (Inactive)
              DBrunner Jim Dutton
              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.