Bug#1003925: asterisk: replace mysql with mariadb in init script LSB header
Roel van Meer
roel at 1afa.com
Tue Jan 18 08:09:53 GMT 2022
Package: asterisk
Version: 1:16.16.1~dfsg-1+deb11u1
Severity: normal
Tags: patch
Dear Maintainer,
due to the rename of the mysql service to mariadb in Bullseye, the asterisk
service is no longer started after the mysql/mariadb database service when
using sysvinit. This can lead to problems when using cdr_mysql.so and possibly
other MySQL-related modules, because they fail to connect when asterisk starts.
Replacing mysql by mariadb in the LSB header should remedy this problem. Please
find a patch attached.
Thank you for your time.
-------------- next part --------------
diff -pru a/asterisk b/asterisk
--- a/asterisk 2019-08-20 22:31:33.000000000 +0200
+++ b/asterisk 2022-01-18 09:07:04.000000000 +0100
@@ -14,8 +14,8 @@
# Provides: asterisk
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
-# Should-Start: $syslog $network $named mysql postgresql dahdi
-# Should-Stop: $syslog $network $named mysql postgresql
+# Should-Start: $syslog $network $named mariadb postgresql dahdi
+# Should-Stop: $syslog $network $named mariadb postgresql
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Asterisk PBX
More information about the Pkg-voip-maintainers
mailing list