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"