BUG #14943: error in rpm package pgpool-II published in repo pgdg10

From: ptim007(at)yahoo(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Cc: ptim007(at)yahoo(dot)com
Subject: BUG #14943: error in rpm package pgpool-II published in repo pgdg10
Date: 2017-12-03 19:14:32
Message-ID: 20171203191432.27103.75862@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 14943
Logged by: Pierre Timmermans
Email address: ptim007(at)yahoo(dot)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

Browse pgsql-bugs by date

  From Date Subject
Next Message Сергей А. Фролов 2017-12-04 08:22:14 Re: BUG #14940: Duplicated records inspite of primary key and unique constraint
Previous Message cees.van.zeeland 2017-12-03 14:06:26 BUG #14942: Create table as (some_query) and PGAdmin 4