BUG #14943: error in rpm package pgpool-II published in repo pgdg10 - Mailing list pgsql-bugs

From ptim007@yahoo.com
Subject BUG #14943: error in rpm package pgpool-II published in repo pgdg10
Date
Msg-id 20171203191432.27103.75862@wrigleys.postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      14943
Logged by:          Pierre Timmermans
Email address:      ptim007@yahoo.com
PostgreSQL version: 10.1
Operating system:   Centos 7.4
Description:

In the rpm pgpool-II-10.x86_64 which is in the pgdg10 yum repository there
is an error which causes that pcp_watchdog_info cannot be executed unless
the complete path is specfified

This is because the alternative is not correctly set-up,
/usr/bin/pcp_watchdog is used instead of /usr/bin/pcp_watchdog_info

In the file pgpool-II.spec which is in pgpool-II-10-3.7.0-1.rhel7.src.rpm,
there is the problem: 

%{__update_alternatives} --install /usr/bin/pcp_watchdog
pgpool-pcp_watchdog_info %{pgpoolinstdir}/bin/pcp_watchdog_info
%{pgmajorversion}0

but it should be
%{__update_alternatives} --install /usr/bin/pcp_watchdog_info
pgpool-pcp_watchdog_info %{pgpoolinstdir}/bin/pcp_watchdog_info
%{pgmajorversion}0

Thank you

Pierre


pgsql-bugs by date:

Previous
From: cees.van.zeeland@xs4all.nl
Date:
Subject: BUG #14942: Create table as (some_query) and PGAdmin 4
Next
From: Сергей А. Фролов
Date:
Subject: Re: BUG #14940: Duplicated records inspite of primary key and uniqueconstraint