Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V5Axp-0008Sp-BO for pgsql-pkg-debian@arkaria.postgresql.org; Fri, 02 Aug 2013 08:43:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V5Axo-0001K1-Ii for pgsql-pkg-debian@arkaria.postgresql.org; Fri, 02 Aug 2013 08:43:56 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V5Axn-0001Ju-Pl for pgsql-pkg-debian@postgresql.org; Fri, 02 Aug 2013 08:43:55 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V5Axl-0005jy-Tb for pgsql-pkg-debian@postgresql.org; Fri, 02 Aug 2013 08:43:55 +0000 Received: from msgid.df7cb.de (wan3.credativ.com [94.79.138.166]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 9289169636; Fri, 2 Aug 2013 10:43:52 +0200 (CEST) Date: Fri, 2 Aug 2013 10:43:50 +0200 From: Christoph Berg To: Colin 't Hart Cc: "pgsql-pkg-debian@postgresql.org" Subject: Re: pg_createcluster not obeying default for socket directory Message-ID: <20130802084350.GB6495@msgid.df7cb.de> Mail-Followup-To: Christoph Berg , Colin 't Hart , "pgsql-pkg-debian@postgresql.org" References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -2.0 (--) X-Mailing-List: pgsql-pkg-debian List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Precedence: bulk Sender: pgsql-pkg-debian-owner@postgresql.org Re: Colin 't Hart 2013-08-01 > Hi, > > Just installed 9.3b2 from the PG group's APT repository. Because I'm > upgrading from 9.3b1 I need to recreate my cluster. > > I get this warning when creating the cluster: > > colin@corundum:~$ sudo pg_createcluster 9.3 main --start > Creating new cluster 9.3/main ... > config /etc/postgresql/9.3/main > data /var/lib/postgresql/9.3/main > locale en_US.UTF-8 > Warning: The socket directory for owners other than 'postgres' > defaults to /tmp. You might want to change the unix_socket_directories parameter > in postgresql.conf to a more secure directory. Hi Colin, can you run a few commands so we have more details about your system? getent passwd postgres ls -ld /var/lib/postgresql/9.3/main /var/run/postgresql dpkg -l 'postgresql-*common' Christoph -- cb@df7cb.de | http://www.df7cb.de/ -- Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-pkg-debian