mirror of
https://github.com/MariaDB/server.git
synced 2025-08-20 18:30:51 +00:00
Deb: use deb-sys-maint user credentials to configure MariaDB plugins
On systems with unix socket authentication root could run these without any special maintenance accounts.
This commit is contained in:
2
debian/mariadb-plugin-mroonga.postinst
vendored
2
debian/mariadb-plugin-mroonga.postinst
vendored
@ -5,7 +5,7 @@ set -e
|
|||||||
# Install Mroonga
|
# Install Mroonga
|
||||||
# No user or password parameter is required with new MariaDB that
|
# No user or password parameter is required with new MariaDB that
|
||||||
# has unix socket authentication support by default.
|
# has unix socket authentication support by default.
|
||||||
mysql < /usr/share/mysql/mroonga/install.sql || true
|
mysql --defaults-file=/etc/mysql/debian.cnf < /usr/share/mysql/mroonga/install.sql || true
|
||||||
# Always exit with success instead of leaving dpkg in a broken state
|
# Always exit with success instead of leaving dpkg in a broken state
|
||||||
|
|
||||||
|
|
||||||
|
2
debian/mariadb-plugin-mroonga.prerm
vendored
2
debian/mariadb-plugin-mroonga.prerm
vendored
@ -5,7 +5,7 @@ set -e
|
|||||||
# Install Mroonga
|
# Install Mroonga
|
||||||
# No user or password parameter is required with new MariaDB that
|
# No user or password parameter is required with new MariaDB that
|
||||||
# has unix socket authentication support by default.
|
# has unix socket authentication support by default.
|
||||||
mysql < /usr/share/mysql/mroonga/uninstall.sql || true
|
mysql --defaults-file=/etc/mysql/debian.cnf < /usr/share/mysql/mroonga/uninstall.sql || true
|
||||||
# Always exit with success instead of leaving dpkg in a broken state
|
# Always exit with success instead of leaving dpkg in a broken state
|
||||||
|
|
||||||
|
|
||||||
|
2
debian/mariadb-plugin-spider.postinst
vendored
2
debian/mariadb-plugin-spider.postinst
vendored
@ -5,7 +5,7 @@ set -e
|
|||||||
# Install Spider
|
# Install Spider
|
||||||
# No user or password parameter is required with new MariaDB that
|
# No user or password parameter is required with new MariaDB that
|
||||||
# has unix socket authentication support by default.
|
# has unix socket authentication support by default.
|
||||||
mysql < /usr/share/mysql/install_spider.sql || true
|
mysql --defaults-file=/etc/mysql/debian.cnf < /usr/share/mysql/install_spider.sql || true
|
||||||
# Always exit with success instead of leaving dpkg in a broken state
|
# Always exit with success instead of leaving dpkg in a broken state
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user