pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rodolphe Quiedeville <rodolphe@quiedeville.org>
To: pgsql-pkg-debian@postgresql.org
Subject: Bug in slony init script
Date: Wed, 29 Oct 2014 09:26:38 +0100
Message-ID: <5450A4BE.1000700@quiedeville.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>

Hi,

I've found a bug in the slony package, please see below

Packages : slony1-2-bin
File : /etc/init.d/slony1
Line : 63

Bug : the script slon_start doesn't have a pidfile option

is_running $1 || su -c "umask 027 ; slon_start ${cluster+"--config
/etc/slony1/slon_tools_${cluster}.conf"} --pidfile $(pidfile $1)
$SLON_START_ARGS $node >/dev/null" - postgres


Solution : when removing the --pidfile in the above line the scripts works.

Regards,

-- 
Rodolphe Quiédeville - SIP/XMPP : rodolphe@quiedeville.org
 Blog : http://blog.rodolphe.quiedeville.org/
 http://cartosm.eu - Intégration de carte libre sur site web
 GNUPG key available on public servers


-- 
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



Message-ID: <5450A4BE.1000700@quiedeville.org>
Permalink:  ../5450A4BE.1000700@quiedeville.org/
Also on:    postgresql.org/message-id/5450A4BE.1000700@quiedeville.org

 · 

reply

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: rodolphe@quiedeville.org
  Subject: Re: Bug in slony init script
  In-Reply-To: <5450A4BE.1000700@quiedeville.org>
  References: <5450A4BE.1000700@quiedeville.org>

* 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