Bug #95163 tmpfiles.d files missing in deb package
Submitted: 27 Apr 2019 4:57 Modified: 22 Aug 2019 14:28
Reporter: Terje Røsten Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Installing Severity:S3 (Non-critical)
Version:5.6 OS:Ubuntu
Assigned to: Lars Tangvald CPU Architecture:Any

[27 Apr 2019 4:57] Terje Røsten
Description:
deb packages are using scripts to create /run/mysqld, this is fragile.

The standard method to re-create dirs in /run is include a tmpfiles.d file,
its one available in scripts/systemd/mysqld.tmpfiles.d.in:
 https://github.com/mysql/mysql-server/tree/8.0/scripts/systemd

use it for deb packages too.

How to repeat:
List files in deb package, no tmpfiles.d file.

Suggested fix:
Ship tmpfiles.d files.
[4 Jun 2019 12:00] Terje Røsten
https://bugs.mysql.com/bug.php?id=95621 marked as dup of #95163.
[22 Aug 2019 14:28] Paul DuBois
Posted by developer:
 
Fixed in 8.0.19.

Debian packages now contain more general systemd support that better
supports manual mysqld execution.