Bug in slony init script - Mailing list pgsql-pkg-debian

From Rodolphe Quiedeville
Subject Bug in slony init script
Date
Msg-id 5450A4BE.1000700@quiedeville.org
Whole thread Raw
List 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@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


pgsql-pkg-debian by date:

Previous
From: Martin Pitt
Date:
Subject: Re: Is this fixable?
Next
From: David Peall
Date:
Subject: PostgreSQL 9.4 on Ubuntu trusty