Re: repmgr94-3.0.3-1.el6 - Circular Reference

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: "Maton, Brett" <matonb(at)ltresources(dot)co(dot)uk>, pgsql-pkg-yum(at)postgresql(dot)org
Subject: Re: repmgr94-3.0.3-1.el6 - Circular Reference
Date: 2016-02-16 19:18:49
Message-ID: 1455650329.26346.59.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2016-02-16 19:29:21 Re: RPM for pg_repack 1.3.3
Previous Message Devrim GÜNDÜZ 2016-02-16 12:49:01 New: Issue tracker