docker-library / postgres

Docker Official Image packaging for Postgres

Home Page:http://www.postgresql.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PostgreSQL 14.11 is not able to identify the postmaster daemon.

vigneshkumar2016 opened this issue · comments

PostgreSQL 14.11 runs out on error.
Image: Official Image
Version: 14.11
OS: Debian
OS version: bullseye
Container: yes

PostgreSQL errors out on 14.11
Segmentation fault (core dumped). this is quite strange.

PostgreSQL 14.5, 14.6, 14.0 works just fine.

Seems like the compiler is overshooting on the address space to load postgres.

any help here is much appreciated.

Hi @vigneshkumar2016 ,

It's possible that the issue you're encountering is related to libseccomp.
If that's the case, you might consider updating both libseccomp and docker on the host that's running the containers.
( or just use postgres:14.11-bullseye )

For detailed information, including the root cause and potential workarounds, please visit:
#1100 (comment)

libseccomp

Thanks, this works for me. However the traceback results and coredump looks similar with that of the one which is working and failing. pretty strange to debug. But clearly getting libraries are not getting loaded to the container memory.

Yeah, the seccomp blocks happen at the kernel level, so strace is one of the few tools that shows what's happening and even then it's usually an obscure EPERM in places it shouldn't be and no real indicator that it's actually seccomp blocking it. 😭