ubi9 pgpool will not start because missing libpam.so.0
Summary
When trying to startup the ubi9 version of pgpool it fails to start because it is missing the libpam.so.0 library.
Steps to reproduce
Try to start the ubi9 version of the pgpool container
What is the current bug behavior?
pgpool acts like it is starting up and ultimately complains about missing a libpam.so.0 library
pgpool 19:21:59.59
pgpool 19:21:59.60 Welcome to the Bitnami pgpool container
pgpool 19:21:59.67 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-pgpool
pgpool 19:21:59.67 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-pgpool/issues
pgpool 19:21:59.68
pgpool 19:21:59.68 INFO ==> ** Starting Pgpool-II setup **
pgpool 19:21:59.79 INFO ==> Validating settings in PGPOOL_* env vars...
pgpool 19:21:59.90 INFO ==> Initializing Pgpool-II...
pgpool 19:21:59.98 INFO ==> Generating pg_hba.conf file...
pgpool 19:21:59.99 INFO ==> Generating pgpool.conf file...
pgpool 19:22:00.69 DEBUG ==> Adding 'postgres-postgresql-ha-postgresql-0.postgres-postgresql-ha-postgresql-headless' information to the configuration...
pgpool 19:22:00.76 DEBUG ==> Adding 'postgres-postgresql-ha-postgresql-1.postgres-postgresql-ha-postgresql-headless' information to the configuration...
pgpool 19:22:00.78 DEBUG ==> Adding 'postgres-postgresql-ha-postgresql-2.postgres-postgresql-ha-postgresql-headless' information to the configuration...
pgpool 19:22:00.79 INFO ==> Generating password file for local authentication...
pg_enc: error while loading shared libraries: libpam.so.0: cannot open shared object file: No such file or directory
When I go into the container it does not appear any RPMs installed for pam:
docker run -ti --entrypoint bash registry1.dso.mil/ironbank/bitnami/pgpool:4.3.2-debian-10-r15-ubi9
bash-5.1$ rpm -qa | grep pam
What is the expected correct behavior?
A working container
Relevant logs and/or screenshots
See above
After creating a enhanced docker image off of registry1.dso.mil/ironbank/bitnami/pgpool:4.3.2-debian-10-r15-ubi9
and only installing the pam package, it looks like other things are missing. The next error is:
pg_enc: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
Possible fixes
Maybe see if there are any Dockerfile updates from the original file that need to be incorporated.
Tasks
-
Bug has been identified and corrected within the container
Please read the Iron Bank Documentation for more info