FS#33027 - [mariadb] MariaDB doesn't create files in /var/run/mysqld, systemd can't start it

Attached to Project: Community Packages
Opened by Reed Lipman (rlipman) - Sunday, 09 December 2012, 20:09 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Sunday, 16 December 2012, 08:41 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

systemd is unable to start mariadb because the directory /var/run/mysqld isn't packaged.

I was able to make it work by doing "# mkdir /var/run/mysqld && chown -R mysql:mysql /var/run/mysqld".
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Sunday, 16 December 2012, 08:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  mariadb 5.5.28.a-2
Comment by Dave Reisner (falconindy) - Sunday, 09 December 2012, 22:49 GMT
It isn't possible to package this because /var/run is a symlink to /run, which is on tmpfs. The bug you wanted to report here is that the install scriptlet should be calling 'systemd-tmpfiles --create mysql.conf' on post_install/post_upgrade.

Loading...