Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Uht57-0000td-1U for pgsql-pkg-debian@arkaria.postgresql.org; Thu, 30 May 2013 02:59:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Uht56-0007hb-CI for pgsql-pkg-debian@arkaria.postgresql.org; Thu, 30 May 2013 02:59:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Uht55-0007h4-Lf for pgsql-pkg-debian@postgresql.org; Thu, 30 May 2013 02:59:11 +0000 Received: from cl-2390.ham-01.de.sixxs.net ([2001:6f8:900:955::2] helo=feynman.df7cb.de) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uht4w-0003x9-L6 for pgsql-pkg-debian@postgresql.org; Thu, 30 May 2013 02:59:11 +0000 Received: from msgid.df7cb.de (lehmann.df7cb.de [IPv6:2001:6f8:10ee:e:136::2]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id D15A76972A; Thu, 30 May 2013 04:58:57 +0200 (CEST) Date: Wed, 29 May 2013 19:58:35 -0700 From: Christoph Berg To: Peter Eisentraut Cc: stronny@celestia.ru, pgsql-pkg-debian@postgresql.org Subject: Re: [BUGS] BUG #8177: initscript should create /var/run/postgresql Message-ID: <20130530025835.GB974@msgid.df7cb.de> Mail-Followup-To: Christoph Berg , Peter Eisentraut , stronny@celestia.ru, pgsql-pkg-debian@postgresql.org References: <1369880567.2517.2.camel@vanquo.pezone.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1369880567.2517.2.camel@vanquo.pezone.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) 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 On Mon, 2013-05-27 at 09:27 +0000, stronny@celestia.ru wrote: > The following bug has been logged on the website: > > Bug reference: 8177 > Logged by: stronny > Email address: stronny@celestia.ru > PostgreSQL version: 9.2.4 > Operating system: wheezy > Description: > > When installed from apt.postgresql.org Postgres fails to start on system > boot. > > Wheezy changed /var/run to become memory-based so initscript should create > /var/run/postgresql if necessary. start() { # create socket directory if [ -d /var/run/postgresql ]; then chmod 2775 /var/run/postgresql else install -d -m 2775 -o postgres -g postgres /var/run/postgresql fi do_ctl_all start "$1" "Starting PostgreSQL $1 database server" } We create the directory, what specifically doesn't work for you? 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