[MDEV-9643] Debian package on Wheezy expects "deb-systemd-helper" to be present Created: 2016-02-26  Updated: 2016-03-01  Resolved: 2016-03-01

Status: Closed
Project: MariaDB Server
Component/s: Platform Debian
Affects Version/s: 10.0.25
Fix Version/s: 10.0.25, 10.1.13

Type: Bug Priority: Minor
Reporter: Jean Weisbuch Assignee: Otto Kekäläinen
Resolution: Fixed Votes: 0
Labels: None


 Description   

On a Debian Wheezy, the post install script for the package "mariadb-server-10.0" tries to call "deb-systemd-helper" which is part of the package "init-system-helpers" which isnt mandatory.

On my wheezy systems, i got this error when doing an upgrade of the packages :

Stopping MariaDB database server: mysqld.
/var/lib/dpkg/info/mariadb-server-10.0.postinst: line 270: deb-systemd-helper: command not found
Starting MariaDB database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..

Its just a "visual bug" as this command just tries to unmask the Systemd service "mysql.service" so its not breaking anything on non-systemd systems.

Adding a test to check if "deb-systemd-helper" is present on the system before executing the command would be enough.


On Jessie, the package also isnt mandatory but its a dependency on "cron" which is installed by default on most systems.



 Comments   
Comment by Otto Kekäläinen [ 2016-02-29 ]

This would make the warning go away: https://github.com/MariaDB/server/pull/158

Comment by Otto Kekäläinen [ 2016-03-01 ]

All tests but Valgrind passed at: https://buildbot.askmonty.org/buildbot/grid?branch=ok-debpkg-10.0&category=main
elenst Can you or somebody disable Valgrind from my test builds, seems to be useless and generate only load on the servers?

Generated at Thu Feb 08 07:36:13 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.