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:
Daniel Black
2023-07-17 11:53:44 +10:00
parent edb71b0a87
commit 0999b7e4d6
11 changed files with 13 additions and 10 deletions

View File

@ -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