Skip to content

Commit

Permalink
fix(mariadb): explicitly unset LD_PRELOAD in startup scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Jun 22, 2024
1 parent f664aa2 commit 5beddef
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions features/src/mariadb/entrypoint.alpine.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
set -eu
exec 2>&1

export LD_PRELOAD=

# shellcheck disable=SC2154
install -d -D -m 02755 -o "${MARIADB_USER}" -g "${MARIADB_USER}" "${MARIADB_DATADIR}"
chown -R "${MARIADB_USER}:${MARIADB_USER}" "${MARIADB_DATADIR}"
Expand Down
2 changes: 2 additions & 0 deletions features/src/mariadb/entrypoint.deb.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
set -eu
exec 2>&1

export LD_PRELOAD=

# shellcheck disable=SC2154
install -d -D -m 02755 -o "${MARIADB_USER}" -g "${MARIADB_USER}" "${MARIADB_DATADIR}"
chown -R "${MARIADB_USER}:${MARIADB_USER}" "${MARIADB_DATADIR}"
Expand Down
2 changes: 2 additions & 0 deletions features/src/mariadb/service-run.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
set -eu
exec 2>&1

export LD_PRELOAD=

# shellcheck disable=SC2154
install -d -D -m 02755 -o "${MARIADB_USER}" -g "${MARIADB_USER}" "${MARIADB_DATADIR}"
chown -R "${MARIADB_USER}:${MARIADB_USER}" "${MARIADB_DATADIR}"
Expand Down

0 comments on commit 5beddef

Please sign in to comment.