Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqewk-0006Ma-RG for pgsql-bugs@arkaria.postgresql.org; Thu, 14 Apr 2016 10:56:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aqewk-0002Jf-7s for pgsql-bugs@arkaria.postgresql.org; Thu, 14 Apr 2016 10:56:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aqYQt-0003Jz-9E for pgsql-bugs@postgresql.org; Thu, 14 Apr 2016 03:59:07 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqYQp-0002id-It for pgsql-bugs@postgresql.org; Thu, 14 Apr 2016 03:59:06 +0000 MIME-Version: 1.0 Subject: BUG #14083: 'postgresql95-setup initdb' breaks inside docker container To: pgsql-bugs@postgresql.org From: porjo38@yahoo.com.au Date: Thu, 14 Apr 2016 03:58:35 +0000 Message-ID: <20160414035835.22934.58240@wrigleys.postgresql.org> X-Pg-Spam-Score: 0.0 (/) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 14083 Logged by: Ian Email address: porjo38@yahoo.com.au PostgreSQL version: 9.5.2 Operating system: Centos7 Description: # /usr/pgsql-9.5/bin/postgresql95-setup initdb Failed to get D-Bus connection: Operation not permitted failed to find PGDATA setting in postgresql-9.5.service If I comment out the lines from 'postgresql95-setup' that call 'systemctl', initdb executes succesfully. I'm using RPM packages from http://yum.postgresql.org/: # rpm -qa | grep postgres postgresql95-libs-9.5.2-1PGDG.rhel7.x86_64 postgresql95-9.5.2-1PGDG.rhel7.x86_64 postgresql95-server-9.5.2-1PGDG.rhel7.x86_64 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs