Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mariadb-image for openSUSE:Factory checked in at 2026-05-21 18:27:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mariadb-image (Old) and /work/SRC/openSUSE:Factory/.mariadb-image.new.2084 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mariadb-image" Thu May 21 18:27:58 2026 rev:68 rq:1354285 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/mariadb-image/mariadb-image.changes 2026-03-27 06:44:18.385098496 +0100 +++ /work/SRC/openSUSE:Factory/.mariadb-image.new.2084/mariadb-image.changes 2026-05-21 18:30:04.945326476 +0200 @@ -1,0 +2,5 @@ +Wed May 20 16:13:51 UTC 2026 - SUSE Update Bot <[email protected]> + +- add MARIADB_USER_HOST env variable handling + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ docker-entrypoint.sh ++++++ --- /var/tmp/diff_new_pack.4HBRlX/_old 2026-05-21 18:30:06.381385592 +0200 +++ /var/tmp/diff_new_pack.4HBRlX/_new 2026-05-21 18:30:06.393386086 +0200 @@ -281,6 +281,7 @@ # env variables related to master file_env 'MARIADB_MASTER_HOST' file_env 'MARIADB_MASTER_PORT' 3306 + file_env 'MARIADB_USER_HOST' '%' # set MARIADB_ from MYSQL_ when it is unset and then make them the same value : "${MARIADB_ALLOW_EMPTY_ROOT_PASSWORD:=${MYSQL_ALLOW_EMPTY_PASSWORD:-}}" @@ -444,17 +445,17 @@ if [ -n "$MARIADB_PASSWORD" ] || [ -n "$MARIADB_PASSWORD_HASH" ] && [ -n "$MARIADB_USER" ]; then mysql_note "Creating user ${MARIADB_USER}" if [ -n "$MARIADB_PASSWORD_HASH" ]; then - createUser="CREATE USER '$MARIADB_USER'@'%' IDENTIFIED BY PASSWORD '$MARIADB_PASSWORD_HASH';" + createUser="CREATE USER '$MARIADB_USER'@'$MARIADB_USER_HOST' IDENTIFIED BY PASSWORD '$MARIADB_PASSWORD_HASH';" else # SQL escape the user password, \ followed by ' local userPasswordEscaped userPasswordEscaped=$(docker_sql_escape_string_literal "${MARIADB_PASSWORD}") - createUser="CREATE USER '$MARIADB_USER'@'%' IDENTIFIED BY '$userPasswordEscaped';" + createUser="CREATE USER '$MARIADB_USER'@'$MARIADB_USER_HOST' IDENTIFIED BY '$userPasswordEscaped';" fi if [ -n "$MARIADB_DATABASE" ]; then mysql_note "Giving user ${MARIADB_USER} access to schema ${MARIADB_DATABASE}" - userGrants="GRANT ALL ON \`${MARIADB_DATABASE//_/\\_}\`.* TO '$MARIADB_USER'@'%';" + userGrants="GRANT ALL ON \`${MARIADB_DATABASE//_/\\_}\`.* TO '$MARIADB_USER'@'$MARIADB_USER_HOST';" fi fi
