Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d3lqt-0005wX-IU for pgsql-pkg-yum@arkaria.postgresql.org; Thu, 27 Apr 2017 16:01:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d3lqt-0003Mm-5Q for pgsql-pkg-yum@arkaria.postgresql.org; Thu, 27 Apr 2017 16:01:07 +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 1d3lqo-0002uN-CZ for pgsql-pkg-yum@postgresql.org; Thu, 27 Apr 2017 16:01:02 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d3lql-00026P-33 for pgsql-pkg-yum@postgresql.org; Thu, 27 Apr 2017 16:01:01 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id AABBD2070C; Thu, 27 Apr 2017 12:00:57 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute7.internal (MEProxy); Thu, 27 Apr 2017 12:00:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=KpCanz2VVZMUfiiEHOUJb0R2ScmE+aq2a72DXIzB+Qg=; b=Rm+8OAXP 27kpJRlSzfPsBFsWEYpZyK3ZOBTQX09h35ClvhYdEmAWqERnCBUUwWm0FSVcAYmk WHN5mDnI29VYjVnnrZBUoAYJGcJwiet7AJDmMhmF5lSO95E9HpeuHSUqHR4hMOq4 ntpLu+GhrMo3RZUT8HaTwcJkJJd6bvvpo55VCHfIHi11ZgRvsAFlkNXAKvLWwnsR 1/ySk7AnQcN8QwgYvZ+JDiiEZms7Mb0LSvfZ4bchLlgB3OqYJKwL36I4JHUFbN4n xUjSERfhegUSdxJ7Iz84MpcHYby9zzmPBEux85hnMVBvOtgrMPpaPGCSsjmYNrT4 QoaH8e4VZ+ROqA== X-ME-Sender: X-Sasl-enc: WuyhhcgfmHf9eAfn2DkQaJKzw8QAD5XWL5ofkjrcU/hy 1493308857 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 5F4AD7E8C4; Thu, 27 Apr 2017 12:00:57 -0400 (EDT) Subject: Re: pgbouncer socket directory To: =?UTF-8?B?RGV2cmltIEfDvG5kw7x6?= , pgsql-pkg-yum@postgresql.org References: <1493289043.3032.43.camel@gunduz.org> From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Thu, 27 Apr 2017 12:00:56 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1493289043.3032.43.camel@gunduz.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-pkg-yum Precedence: bulk Sender: pgsql-pkg-yum-owner@postgresql.org On 4/27/17 06:30, Devrim Gündüz wrote: >> But /var/run/postgresql is 0755 postgres:postgres, so pgbouncer can't >> write there. How is this supposed to work? > > No idea. Anyone else? On Debian, there is no separate pgbouncer user and it runs as "postgres". Alternatively, add pgbouncer to the postgres group and change the permissions to 0775. (Or just change them to 0777 and forget the rest.) -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-pkg-yum mailing list (pgsql-pkg-yum@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-pkg-yum