[debian-mysql] Bug#1067491: time_t transition upgrade: failed systemctl call in preinst due to missing pre-dependencies

Michael Biebl biebl at debian.org
Fri Mar 22 11:43:55 GMT 2024


Please see the related MR
https://salsa.debian.org/mariadb-team/mariadb-server/-/merge_requests/75

By dropping the hand-written maintscript code, we should mitigate this 
problem, as the problematic code would not be run on upgrades.
In addition, the generated maintscript code used "|| true", so would 
ignore the systemctl/deb-systemd-invoke failure.

Unless of course restart-after-upgrade is not actually what you want for 
mariadb-server.

In this case though, the hand-written code should be removed nonetheless 
but we would need to adjust the dh_installsystemd call in debian/rules 
to use the old stop-before-upgrade/start-after-upgrade behaviour.

Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-mysql-maint/attachments/20240322/1a21ec97/attachment.sig>


More information about the pkg-mysql-maint mailing list