Bug in slony init script

From: Rodolphe Quiedeville <rodolphe(at)quiedeville(dot)org>
To: pgsql-pkg-debian(at)postgresql(dot)org
Subject: Bug in slony init script
Date: 2014-10-29 08:26:38
Message-ID: 5450A4BE.1000700@quiedeville.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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(at)quiedeville(dot)org
Blog : http://blog.rodolphe.quiedeville.org/
http://cartosm.eu - Intégration de carte libre sur site web
GNUPG key available on public servers

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message David Peall 2014-11-04 08:17:31 PostgreSQL 9.4 on Ubuntu trusty
Previous Message Martin Pitt 2014-10-23 18:55:30 Re: Is this fixable?