sclorg / postgresql-container

PostgreSQL container images based on Red Hat Software Collections and intended for OpenShift and general usage. Users can choose between Red Hat Enterprise Linux, Fedora, and CentOS based images.
http://softwarecollections.org
Apache License 2.0
164 stars 216 forks source link

On non-intel arches, data_sync_retry = off (default since v11) does not work #354

Closed hhorak closed 4 years ago

hhorak commented 4 years ago

It might be related to the issue we recently saw in nodejs, because using unconfined seccomp profile (--security-opt=seccomp=unconfined as a docker option) works.

RHBZ with most information: https://bugzilla.redhat.com/show_bug.cgi?id=1779150

The nodejs issue resulted in a kernel bug fix: https://bugzilla.redhat.com/show_bug.cgi?id=1760294

Original nodejs report: https://bugzilla.redhat.com/show_bug.cgi?id=1759152#c34

Also reported for libseccomp: https://bugzilla.redhat.com/show_bug.cgi?id=1762578#c12

PostgreSQL Upstream discussion relevant for the changes in data_sync_retry: https://www.postgresql.org/message-id/CA+mCpegfOUph2U4ZADtQT16dfbkjjYNJL1bSTWErsazaFjQW9A@mail.gmail.com

Upstream changes that caused this issue: https://github.com/postgres/postgres/commit/483520eca426fb1b428e8416d1d014ac5ad80ef4 https://github.com/postgres/postgres/commit/9ccdd7f66e3324d2b6d3dec282cfa9ff084083f1