mariadb/0002-add-install-db-command.patch
bzhaoop 46cbdb34e3 Bump version to latest 10.3.34 version
1. For resolving the CVEs, which includes:
- CVE-2021-46659
- CVE-2021-46664
- CVE-2021-46665
- CVE-2021-46663
- CVE-2021-46662
- CVE-2021-46666
- CVE-2021-46667
- CVE-2021-46661
- CVE-2021-46669
- CVE-2021-46657
- Above all CVEs needs to bump to the latest version for resolve.
2. Refresh all patches relies on the latest tar package.
2022-03-03 14:31:33 +08:00

12 lines
610 B
Diff

diff -Naur mariadb-10.3.34/support-files/mariadb.service.in mariadb-10.3.34_patched/support-files/mariadb.service.in
--- mariadb-10.3.34/support-files/mariadb.service.in 2022-02-11 03:31:02.000000000 +0800
+++ mariadb-10.3.34_patched/support-files/mariadb.service.in 2022-03-03 11:45:17.906359320 +0800
@@ -82,6 +82,7 @@
# Needed to create system tables etc.
# ExecStartPre=@scriptdir@/mysql_install_db -u mysql
+ExecStartPre=@scriptdir@/mysql_install_db --user="mysql" --skip-test-db
# Start main service
# MYSQLD_OPTS here is for users to set in /etc/systemd/system/mariadb.service.d/MY_SPECIAL.conf