Bug in pgpool-II packages - Mailing list pgsql-pkg-yum

From Bernd Helmle
Subject Bug in pgpool-II packages
Date
Msg-id D524551B14FDC8B3CB5B5DDE@eje.credativ.lan
Whole thread Raw
Responses Re: Bug in pgpool-II packages
List 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

Attachment

pgsql-pkg-yum by date:

Previous
From: Devrim Gündüz
Date:
Subject: Re: PGDG repo differences for RHEL 6.6 / 7.
Next
From: Devrim Gündüz
Date:
Subject: Re: Init script for Slony-I has been broken.