[Pkg-giraffe-maintainers] Bug#971255: kopanocore: autopkgtest fails on assuming /etc/init.d/mysql exists

Otto Kekäläinen otto at debian.org
Mon Sep 28 09:16:36 BST 2020


Package: kopanocore

Hello!

I noticed the autopkgtests at
https://ci.debian.net/data/autopkgtest/testing/amd64/k/kopanocore/7197598/log.gz
failed with:

# Restart MariaDB server...                                           #
/tmp/autopkgtest-lxc.eq69zqgi/downtmp/build.no3/src/debian/tests/smoke:
33: /etc/init.d/mysql: not found
autopkgtest [04:11:05]: test smoke: -----------------------]
autopkgtest [04:11:05]: test smoke:  - - - - - - - - - - results - - -
- - - - - - -
smoke                FAIL non-zero exit status 127


This is due to mariadb-10.5 now shipping on _new_ installs only
/etc/init.d/mariadb

On upgrades, if a /etc/init.d/mysql existed, it will be created as a
symlink to mariadb.
If using systemd, the mariadb is also available as alias mysql (also
on new installs).

We should either fix the kopanocore autopkgtests to use
/etc/init.d/mariadb or start providing /etc/init.d/mysql from MariaDB
(and decide to do so forever).

Comments?



More information about the Pkg-giraffe-maintainers mailing list