mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Deb: Stop using mariadb-service-convert
We can't expect that users want to always convert their mysqld_safe settings on an upgrade. In its current form it will always run, and that seems unnecessary on every single installation. Also the script is buggy, leaks mysqld_safe output into the written file and since it gets syntax errors the whole mariadb.service will fail to work.
This commit is contained in:
6
debian/mariadb-server-10.5.postinst
vendored
6
debian/mariadb-server-10.5.postinst
vendored
@@ -198,12 +198,6 @@ EOF
|
||||
fi
|
||||
fi
|
||||
|
||||
# copy out any mysqld_safe settings
|
||||
systemd_conf=/etc/systemd/system/mariadb.service.d/migrated-from-my.cnf-settings.conf
|
||||
if [ -x /usr/bin/mariadb-service-convert -a ! -f "${systemd_conf}" ]; then
|
||||
mkdir -p /etc/systemd/system/mariadb.service.d
|
||||
/usr/bin/mariadb-service-convert > "${systemd_conf}"
|
||||
fi
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-configure)
|
||||
|
Reference in New Issue
Block a user