FS#50148 - [mariadb] 10.1.16-1-x86_64 missing post daemon file

Attached to Project: Arch Linux
Opened by Daniel (utsi) - Monday, 25 July 2016, 13:24 GMT
Last edited by Christian Hesse (eworm) - Monday, 25 July 2016, 18:01 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Hi, upgraded from mariadb-10.1.14-1 to mariadb-10.1.16-1. When restarting service, it fails to start and exits.
Journalctl gives the following:

The process /usr/bin/mysqld-post could not be executed and failed.

Examining the package with pacman -Ql mariadb | grep mysqld-post confirms that the file is missing from the package.
As a temporary fix I downgraded to 10.1.14.

Steps to reproduce:
1.Update MariaDB to version 10.1.16-1
2.systemctl restart mysqld
3.Service will fail to restart due to missing file in package
This task depends upon

Closed by  Christian Hesse (eworm)
Monday, 25 July 2016, 18:01 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Fix your local configuration, package files are fine.
Comment by Christian Hesse (eworm) - Monday, 25 July 2016, 13:44 GMT
Ah, that's from our old downstream systemd unit file and does no longer exist. Please run

systemctl daemon-reload

and (re-)start mariadb service.
Comment by Daniel (utsi) - Monday, 25 July 2016, 13:57 GMT
No, that will not fix the issue. The issue, as far as I can track down, is due to the following line in:

ExecStartPost=/usr/bin/mysqld-post

in /etc/systemd/system/mysqld.service.
If the file is old, then this should be removed from the service file?
Comment by Christian Hesse (eworm) - Monday, 25 July 2016, 14:01 GMT
This file does not belong to the package... ;)
Packages' unit files are placed in /usr/lib/systemd/system/, /etc/systemd/system/ is administrator's territory.

Loading...