[debian-mysql] Bug#983563: Bug#983563: mariadb-server: trigger fails when systemd is not running (eg. chroot)

Faustin Lammler faustin at fala.red
Mon Mar 1 11:49:03 GMT 2021


Hi Arnaud!

Arnaud Rebillout <arnaudr at kali.org>,
26/02/2021 – 16:39:41 (+0700):

> Hence I believe that the line:
> 
>   if [ -x "$(command -v systemctl)" ]; then
> 
> Should be replaced by:
> 
>   if [ -d /run/systemd/system ]; then
I am not sure that this is what we want here. Indeed, doing this would
lead to the execution of `invoke-rc.d mariadb restart` in your
particular case (but you are using systemd not sysv init). Or I am
missing something?

Could point me to the steps in your CI where this happen so I can try to
reproduce it?

-- 
Faustin Lammler
GPG: F652 BCD1 1AA8 8975 F010 48A5 390A 2F27 832A 5C79
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-mysql-maint/attachments/20210301/653c86ba/attachment-0001.sig>


More information about the pkg-mysql-maint mailing list