This follows a problem I reported in [email protected] list
http://lists.mythtv.org/pipermail/mythtv-users/2026-January/416391.html
I know, the subject was truncated...
My problem is that mariadb server fails to start. I found the cause to be a
missing directory /run/mariadb.
Looking further it seems that an important file is missing:
2026-01-16 1:29:26 0 [ERROR] mariadbd: Can't create/write to file
'/run/mariadb/mariadb.pid' (Errcode: 13 "Permission denied")
2026-01-16 1:29:26 0 [ERROR] Can't start server: can't create PID
file: Permission denied
It says 'Permission denied' but I see that the directory '/run/mariadb/' itself
does not exist. Creating it resolved the issue.
It should be created by a tmpfiles configuration.
$ dnf list installed mariadb-server
Installed packages
mariadb-server.x86_64 3:10.11.15-1.fc42 updates
$ dnf provides '*/mariadb.conf'
mariadb-server-3:10.11.11-1.fc42.x86_64 : The MariaDB server and related files
Repo : fedora
Matched From :
Filename : /usr/lib/tmpfiles.d/mariadb.conf
Filename : /usr/lib/sysusers.d/mariadb.conf
So the older 10.11.11 includes a tmpfiles conf file but not 10.11.15.
$ dnf repoquery -ql mariadb-server-3:10.11.11-1.fc42.x86_64|grep \.conf
/usr/lib/sysusers.d/mariadb.conf
/usr/lib/tmpfiles.d/mariadb.conf
$ dnf repoquery -ql mariadb-server-3:10.11.15-1.fc42.x86_64|grep \.conf
/usr/lib/sysusers.d/mariadb10.11.conf
Is this a packaging issue or am I missing another configuration file (or
package)?
TIA
--
Eyal at Home ([email protected])
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue