public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: François SIMON <[email protected]>
Cc: Adrian Klaver <[email protected]>
Cc: [email protected]
Subject: Re: post-bootstrap init : permission denied pg_description
Date: Thu, 12 Sep 2024 13:38:11 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <241898171.198702953.1726138710864.JavaMail.root@zimbra28-e5.priv.proxad.net>
<[email protected]>
<[email protected]>
<[email protected]>
=?iso-8859-1?Q?Fran=E7ois?= SIMON <[email protected]> writes:
> So the problem seems to come from xlc, and only at initdb step.
> I can see that initdb runs a backend postgres in single user mode.
> And this is this backend, when compiled with xlc, that shows :
> FATAL: permission denied for table pg_description
Yeah. This seems like it must be an xlc code-generation bug.
It's got nothing to do with filesystem permissions: you're failing
an ACL check at the logical "table" level, which you should not
be because single-user mode implies superuser permissions.
We do have one buildfarm member building with 64-bit xlc on
AIX 7.1:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=hornet&dt=2024-09-11%2003%3A51%3A02
I see that that uses a bunch of odd CFLAGS, but they look like they
are mostly to suppress compiler warnings. Another important bit of
the recipe for AIX is -D_LARGE_FILES=1, but I'm not sure that that
would have any impact during initdb (since we're not dealing with
any large files at that point).
You could perhaps try different -O optimization levels. Also
make sure your xlc is up-to-date.
regards, tom lane
view thread (9+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: post-bootstrap init : permission denied pg_description
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox