From 274f742bc9888497e8e03aa284c34c7b434fb646 Mon Sep 17 00:00:00 2001 From: balinorLiang Date: Mon, 28 Oct 2024 03:16:59 -0400 Subject: [PATCH] update again for bugfix --- 3/bookworm/docker-entrypoint.sh | 1 + 3/ubi8/docker-entrypoint.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/3/bookworm/docker-entrypoint.sh b/3/bookworm/docker-entrypoint.sh index 87b4677..9e1dc29 100755 --- a/3/bookworm/docker-entrypoint.sh +++ b/3/bookworm/docker-entrypoint.sh @@ -94,6 +94,7 @@ docker_init_database_dir() { if [ -e "$PGDATA/ivorysql.conf" ]; then sed -ri "s!^#?(ivorysql.listen_addresses)\s*=\s*\S+.*!\1 = '*'!" $PGDATA/ivorysql.conf fi + # unset/cleanup "nss_wrapper" bits if [[ "${LD_PRELOAD:-}" == */libnss_wrapper.so ]]; then rm -f "$NSS_WRAPPER_PASSWD" "$NSS_WRAPPER_GROUP" diff --git a/3/ubi8/docker-entrypoint.sh b/3/ubi8/docker-entrypoint.sh index 87b4677..9e1dc29 100755 --- a/3/ubi8/docker-entrypoint.sh +++ b/3/ubi8/docker-entrypoint.sh @@ -94,6 +94,7 @@ docker_init_database_dir() { if [ -e "$PGDATA/ivorysql.conf" ]; then sed -ri "s!^#?(ivorysql.listen_addresses)\s*=\s*\S+.*!\1 = '*'!" $PGDATA/ivorysql.conf fi + # unset/cleanup "nss_wrapper" bits if [[ "${LD_PRELOAD:-}" == */libnss_wrapper.so ]]; then rm -f "$NSS_WRAPPER_PASSWD" "$NSS_WRAPPER_GROUP"