On Sat, May 28, 2022, 18:35 Roffild wrote:
> But the volume mount has a limitation with chmod 755. I don't want to
> write the database directly to the container.
Using a $PGDATA subdirectory in a mounted Volume allows you to run with 0700
and also retain this limitation you mention. I don't bel
On Sat, May 28, 2022 at 9:35 AM Roffild wrote:
> Docker is now the DevOps standard. It's easier to build an image for
> Docker and run the site with one command.
>
> But the volume mount has a limitation with chmod 755. I don't want to
> write the database directly to the container.
>
> The conta
Docker is now the DevOps standard. It's easier to build an image for
Docker and run the site with one command.
But the volume mount has a limitation with chmod 755. I don't want to
write the database directly to the container.
The container is isolated from everything. Therefore, checking the
> On 28 May 2022, at 17:49, Tom Lane wrote:
>
> Daniel Gustafsson writes:
>>> On 28 May 2022, at 14:59, Roffild wrote:
>>> This patch fixes an issue inside Docker and will not affect other builds.
>
>> Looks like you generated the patch backwards, it's removing the lines you
>> propose to add.
Daniel Gustafsson writes:
>> On 28 May 2022, at 14:59, Roffild wrote:
>> This patch fixes an issue inside Docker and will not affect other builds.
> Looks like you generated the patch backwards, it's removing the lines you
> propose to add.
Lacks documentation, too. But it doesn't matter, beca
Fix
Looks like you generated the patch backwards, it's removing the lines you
propose to add.diff --git a/configure.ac b/configure.ac
index d093fb88dd..3f0077696b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -749,6 +749,14 @@ PGAC_ARG_BOOL(enable, cassert, no, [enable assertion
checks (for d
> On 28 May 2022, at 14:59, Roffild wrote:
> This patch fixes an issue inside Docker and will not affect other builds.
Looks like you generated the patch backwards, it's removing the lines you
propose to add.
--
Daniel Gustafsson https://vmware.com/
Add --disable-check-permissions to ./configure
After applying the patch, run "autoheader -f ; autoconf"
This patch fixes an issue inside Docker and will not affect other builds.diff --git a/configure.ac b/configure.ac
index 3f0077696b..d093fb88dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -
Only in an ideal world are all standards observed...
Docker has different standards inside.
$ ls -l /home/neo/
drwxr-xr-x2 pgsql pgsql 8192 May 27 10:37 data
drwxr-sr-x2 pgsql pgsql 4096 May 24 09:35 data2
/home/pgsql/data - mounted volume.
Therefore, the
Roffild writes:
> postgres and initdb not working inside docker.
> chmod 755 always for a mounted volume inside docker.
This patch will never be accepted. You don't need it if you take the
standard advice[1] that the Postgres data directory should not itself
be a mount point. Instead, make a su
10 matches
Mail list logo