repmgr94-3.0.3-1.el6 - Circular Reference

From: "Maton, Brett" <matonb(at)ltresources(dot)co(dot)uk>
To: pgsql-pkg-yum(at)postgresql(dot)org
Subject: repmgr94-3.0.3-1.el6 - Circular Reference
Date: 2016-02-16 09:06:17
Message-ID: CAAn8SBHaNse+NmsBZjKZ7NvK9BoRu_kc4rrwSnLZ3eO2fK2v6A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

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}

Regards,
Brett Maton

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Jiří Hlinka 2016-02-16 11:57:34 Re: RPM for pg_repack 1.3.3
Previous Message Devrim GÜNDÜZ 2016-02-16 08:35:41 Re: RPM for pg_repack 1.3.3