Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lBp7h-0002OB-Nd for pgsql-general@arkaria.postgresql.org; Tue, 16 Feb 2021 01:25:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lBp7f-0000K1-Ip for pgsql-general@arkaria.postgresql.org; Tue, 16 Feb 2021 01:25:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lBp7f-0000Jt-B4 for pgsql-general@lists.postgresql.org; Tue, 16 Feb 2021 01:25:51 +0000 Received: from mout.perfora.net ([74.208.4.197]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lBp7b-0003g3-R3 for pgsql-general@lists.postgresql.org; Tue, 16 Feb 2021 01:25:50 +0000 Received: from [192.168.1.23] ([72.94.51.172]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0LiEzt-1lfwsd1UkV-00nSGf for ; Tue, 16 Feb 2021 02:25:44 +0100 To: pgsql-general@lists.postgresql.org From: H Subject: Issue initializing postgreSQL 13 on CentOS 7 docker Message-ID: Date: Mon, 15 Feb 2021 20:25:42 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Provags-ID: V03:K1:A1qiFEMt+onupHTEUGf6MexJvq+eDS8FM7KIyFt9J30Zv3+/07K gSXkIABn4R/snGmxAi3gwxvcYB9GkH0C8LbJVJm4mbwvOKCWQCW6nhM0dg55hPVQu37OEXW u8pwmZyY/9joNTv8T+504eTYaXZgghsImDA19bZxA23dnj9Ci+gcKQJXj1qM5cWmCeUUpLS B9PdAdiPuMUSy6TdPVAQQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:mcMpjTB1HrQ=:2hXdfxb7qcWil0rKu2jVK9 AdwXSq74mHEIHXmMQy23Lsji456SjBVAl+rwyXQSVFR5ed5tmyxoQlrebBfkcMfmLxYFKTtoU Pl12m25zl8XMZa7mZp55i/5UAlG8UsMm1gitPHzMMqsU0wFqirtwo8kRaUtwuo0xUejJI154q c1/bPV+jJsvRBtIN1wuJO2IHA5nxUz13lgU3TFuuIuAlHPmqKfE4KXWUttsaAnod7bQKZQQKs YQ9MuAL5fD5dEOL4n4iEkZFzAkc6Y0WEL4ptSn9NV/dTjUjB7GbJ9+h2I8ypdazVjuTPGnYrX HzmzhAxL/rvkuCMxWfuC3RgznHC/Zy25wMC4h5EFCbuvy49KyxzB6JAN5KhOJdjSsVdfmJ4BL B3h4clzXYryjpBaQq0Qe/aBG5uu5JNdaCfdG9sp6ZYPVw48ATYyHBqN1MQ2PL1PBV4q8QRve3 VnjqJK3MVw== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I am running postgreSQL 13 server/client successfully on my workstation but am having problems setting it up in a docker container, both running CentOS 7. I have previously run postgreSQL 9.6 successfully in docker but right now I am unable to initialize the database under pg 13. For some reason the following: postgresql-13-setup initdb -E 'UTF8' fails with: systemctl: invalid option -- 'E' The equivalent to the above worked fine when running pg 9.6. I can add that: postgresql-13-setup initdb works fine but then the databases default to SQL ASCII which is not OK. There seems to be some issue with Fedora and later pg versions with respect to locale settings as seen in: https://bugzilla.redhat.com/show_bug.cgi?id=1872511 but I am not certain the same issue applies to my situation. The file glibc-langpack-en does not seem available for CentOS 7 although my solution might also rely on fixing the locale situation. Anyway, where would I file a bug? RedHat or here? I'll be happy to supply more information as needed.