From: Christoph Berg <myon@debian.org>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: stronny@celestia.ru
Cc: pgsql-pkg-debian@postgresql.org
Subject: Re: [BUGS] BUG #8177: initscript should create /var/run/postgresql
Date: Wed, 29 May 2013 19:58:35 -0700
Message-ID: <20130530025835.GB974@msgid.df7cb.de> (raw)
In-Reply-To: <1369880567.2517.2.camel@vanquo.pezone.net>
References: <E1Ugthl-0001QE-Pg@wrigleys.postgresql.org>
<1369880567.2517.2.camel@vanquo.pezone.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-pkg-debian@postgresql.org
Cc: myon@debian.org, peter_e@gmx.net, stronny@celestia.ru
Subject: Re: [BUGS] BUG #8177: initscript should create /var/run/postgresql
In-Reply-To: <20130530025835.GB974@msgid.df7cb.de>
References: <E1Ugthl-0001QE-Pg@wrigleys.postgresql.org> <1369880567.2517.2.camel@vanquo.pezone.net> <20130530025835.GB974@msgid.df7cb.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox