mirror of
https://github.com/MariaDB/mariadb-docker.git
synced 2025-08-16 15:55:03 +00:00
MDEV-31714: remove mysqld/mariadb_safe.cnf file
The 50-mariadb_safe.cnf file exposed a syslog configuration that got picked up by Galera SST scripts. These would push output to /dev/log which doesn't exist in containers.
This commit is contained in:
@ -116,7 +116,7 @@ RUN set -ex; \
|
||||
; \
|
||||
rm -rf /var/lib/apt/lists/*; \
|
||||
# purge and re-create /var/lib/mysql with appropriate ownership
|
||||
rm -rf /var/lib/mysql; \
|
||||
rm -rf /var/lib/mysql /etc/mysql/mariadb.conf.d/50-mysqld_safe.cnf; \
|
||||
mkdir -p /var/lib/mysql /var/run/mysqld; \
|
||||
chown -R mysql:mysql /var/lib/mysql /var/run/mysqld; \
|
||||
# ensure that /var/run/mysqld (used for socket and lock files) is writable regardless of the UID our mysqld instance ends up having at runtime
|
||||
|
Reference in New Issue
Block a user