locale -a missing on Alpine Linux?

2022-11-16 Thread Peter Eisentraut
Since 2fe3bdbd691a, initdb has been failing on malleefowl: performing post-bootstrap initialization ... sh: locale: not found 2022-11-15 23:48:44.288 EST [10436] FATAL: could not execute command "locale -a": command not found 2022-11-15 23:48:44.288 EST [10436] STATEMENT: SELECT pg_import_sys

Re: locale -a missing on Alpine Linux?

2022-11-16 Thread Christoph Moench-Tegeder
## Peter Eisentraut (peter.eisentr...@enterprisedb.com): > First of all, is this a standard installation of this OS, or is perhaps > something incomplete, broken, or unusual about the current OS installation? Alpine uses musl libc, on which you need package musl-locales to get a /usr/bin/locale.

Re: locale -a missing on Alpine Linux?

2022-11-16 Thread Tom Lane
Christoph Moench-Tegeder writes: > ## Peter Eisentraut (peter.eisentr...@enterprisedb.com): >> First of all, is this a standard installation of this OS, or is perhaps >> something incomplete, broken, or unusual about the current OS installation? > Alpine uses musl libc, on which you need package

Re: locale -a missing on Alpine Linux?

2022-11-17 Thread Peter Eisentraut
On 16.11.22 20:25, Tom Lane wrote: Christoph Moench-Tegeder writes: ## Peter Eisentraut (peter.eisentr...@enterprisedb.com): First of all, is this a standard installation of this OS, or is perhaps something incomplete, broken, or unusual about the current OS installation? Alpine uses musl l

Re: locale -a missing on Alpine Linux?

2022-11-17 Thread Andrew Dunstan
On 2022-11-16 We 14:25, Tom Lane wrote: > Christoph Moench-Tegeder writes: >> ## Peter Eisentraut (peter.eisentr...@enterprisedb.com): >>> First of all, is this a standard installation of this OS, or is perhaps >>> something incomplete, broken, or unusual about the current OS installation? >> A

Re: locale -a missing on Alpine Linux?

2022-11-17 Thread Tom Lane
Andrew Dunstan writes: > malleefowl is a docker instance (mostly docker images is what Alpine is > used for). It would be extremely easy to recreate the image and add in > musl-locales, but maybe we should just leave it as it is to test the > case where the command isn't available. Agreed, leave