Skip to content

pg_dumpall fails in postgres:14.8-bookworm #1101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jorenham opened this issue Jun 16, 2023 · 1 comment
Closed

pg_dumpall fails in postgres:14.8-bookworm #1101

jorenham opened this issue Jun 16, 2023 · 1 comment

Comments

@jorenham
Copy link

Running docker-compose exec db14 pg_dumpall --clean in the postgres:14.8-bookworm image results in:

popen failure: Cannot allocate memory
pg_dumpall: error: The program "pg_dump" is needed by pg_dumpall but was not found in the
same directory as "/usr/lib/postgresql/14/bin/pg_dumpall".
Check your installation.

This is working fine in postgres:14.8-bullseye.


For some context:

docker-compose exec db14 cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
docker-compose exec db14 psql --version
psql (PostgreSQL) 14.8 (Debian 14.8-1.pgdg120+1)
@tianon
Copy link
Member

tianon commented Jun 20, 2023

This is definitely going to be the same seccomp issue mentioned in #1100 -- you'll want to update libseccomp2 on your host (and Docker/runc).

@tianon tianon closed this as completed Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants