Re: repmgr94-3.0.3-1.el6 - Circular Reference - Mailing list pgsql-pkg-yum

From Devrim GÜNDÜZ
Subject Re: repmgr94-3.0.3-1.el6 - Circular Reference
Date
Msg-id 1455650329.26346.59.camel@gunduz.org
Whole thread Raw
In response to repmgr94-3.0.3-1.el6 - Circular Reference  ("Maton, Brett" <matonb@ltresources.co.uk>)
List pgsql-pkg-yum
Hi,

Thanks for the report and patch! Committed to 9.4 and 9.5 repos. Pushing the
packages now.

Regards, Devrim

On Tue, 2016-02-16 at 09:06 +0000, Maton, Brett wrote:
> Hi,
>
>   I've noticed a ( major ) problem with the latest repmgr RPM release (
> repmgr94-3.0.3-1.el6 )
>
>   The sysconf configuration file installed is the same file as the init
> script.
>   It causes a circular reference as it's effectively indefinitely sourcing
> itself...
>
>
> Patch:
>
> 100c100
>
> < install -m 700 %{SOURCE2}
> %{buildroot}%{_sysconfdir}/sysconfig/%{sname}/%{sname}-%{pgpackageversion}
>
> ---
>
> > install -m 600 %{SOURCE3}
> %{buildroot}%{_sysconfdir}/sysconfig/%{sname}/%{sname}-%{pgpackageversion}
>


--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR



Attachment

pgsql-pkg-yum by date:

Previous
From: Devrim GÜNDÜZ
Date:
Subject: New: Issue tracker
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: RPM for pg_repack 1.3.3