On 9/30/23 01:57, Tom Lane wrote:
> Thomas Munro <thomas.munro@gmail.com> writes:
>> Does the image lack a /etc/localtime file/link, but perhaps one of you
>> did something to create it?
>
> Hah! I thought it had to be some sort of locale effect, but I failed
> to think of that as a contributor :-(. My installation does have
> /etc/localtime, and removing it duplicates Tomas' syndrome.
>
> I also find that if I add "-gmt 1" to the clock invocation, it's happy
> with or without /etc/localtime. So I think we should modify the test
> case to use that to reduce its environmental sensitivity. Will
> go make it so.
>
FWIW I've defined the timezone (copying it into /etc/localtime), and
that seems to have resolved the issue (well, maybe it's the "-gmt 1"
tweak, not sure).
I wonder how come it worked with the earlier image - I don't recall
defining the timezone (AFAIK I only did the bare minimum to get it
working), but maybe I did.
regards
--
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company