Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
None
-
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
- blocks
-
MDEV-18841 Get rid of deprecated /var/run paths
-
- Closed
-
Well something has changed, but I can't see what. The "/usr/lib/tmpfiles/mariadb.conf"
file still exists (dated 05/05/2021) and now contains only the line for "var/lib/mysql". The expected "/run/mariadb" directory is now being generated correctly. The version of MariaDB has not changed nor has it been updated in any system using it since 2021-05-19.