Closed johankok closed 1 year ago
Thank you for creating the issue and for providing the detailed reproducer.
I have created PR, which should fix this issue: https://github.com/sclorg/container-common-scripts/pull/316
Note: the s2i-core, s2i-base and postgresql container images will need to be rebuild in order to propagate this change.
I did not manage to reproduce the error you mentioned when running the container as a root. We, in general, support run of our containers only when triggered by user with root privileges. Also our testsuite covers only this use-case (in addition to running containers in OpenShift).
Closing this issue, thanks for fixing this issue.
When using podman to start the postgresql-container images based on CentOS, the container immediately with the error below. When running the images based on Fedora, the error does not occur and the image starts normally.
Output for failing image:
When trying to reproduce with all available images I found I reproduce this with all CentOS based images:
The Fedora ones (fedora/postgresql-11 fedora/postgresql-12 fedora/postgresql-13) start without any problem.
I've tried on a AlmaLinux 9 sytem with podman-4.2.0-7.el9_1.x86_64 and on a Fedora 37 system with podman-4.3.1-1.fc37.x86_64.