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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not a Bug
    • Affects Version/s: 10.3.29
    • Fix Version/s: N/A
    • Component/s: Configuration, Packaging
    • Labels:
    • Environment:
      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

              Assignee:
              abychko Alexey Bychko (Inactive)
              Reporter:
              DBrunner Jim Dutton
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration