Bug in pgpool-II packages

From: Bernd Helmle <mailings(at)oopsware(dot)de>
To: pgsql-pkg-yum(at)postgresql(dot)org
Subject: Bug in pgpool-II packages
Date: 2015-01-27 17:02:53
Message-ID: D524551B14FDC8B3CB5B5DDE@eje.credativ.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

Hi all,

Looks like pgpool-II start scripts in 9.2, 9.3 and 9.4 are broken.

The start script looks to source /etc/sysconfig/pgpool. However, since we
install
pgpool.sysconfig now as /etc/sysconfig/pgpool-II-<MAJVERSION>, $OPTS in the
start script won't be set. One outcome is that per default logging into
$PGPOOLLOG
doesn't work.

Attached is a patch against the 9.3 init scripts, but this can be adjusted
for 9.4/9.2 as well, i believe.

Also the patch to the sample config file pgpool.conf.sample.patch needs to
be adjusted for 9.3. It has the following:

-logdir = '/var/log/pgpool'
+logdir = '/var/log/pgpool-II-94'
# Directory of pgPool status file
# (change requires restart)

Which might be confusing. However, we don't create the logdir during the
RPM installation either, so there might be more to do.

--
Thanks

Bernd

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim Gündüz 2015-01-27 20:44:05 Re: Init script for Slony-I has been broken.
Previous Message Devrim Gündüz 2015-01-27 16:33:14 Re: PGDG repo differences for RHEL 6.6 / 7.