[Pkg-postgresql-public] Bug#767640: Bug in slony init script

Christoph Berg myon at debian.org
Sat Nov 1 15:40:16 UTC 2014


Package: slony1-2-bin

----- Forwarded message from Rodolphe Quiedeville <rodolphe at quiedeville.org> -----

Date: Wed, 29 Oct 2014 09:26:38 +0100
From: Rodolphe Quiedeville <rodolphe at quiedeville.org>
To: pgsql-pkg-debian at postgresql.org
Subject: [pgsql-pkg-debian] Bug in slony init script

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.org
 Blog : http://blog.rodolphe.quiedeville.org/
 http://cartosm.eu - Intégration de carte libre sur site web
 GNUPG key available on public servers



More information about the Pkg-postgresql-public mailing list