repmgr94-3.0.3-1.el6 - Circular Reference

Поиск
Список
Период
Сортировка
Искать

repmgr94-3.0.3-1.el6 - Circular Reference

От:
"Maton, Brett" <matonb@ltresources.co.uk>
Дата:
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

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

От:
Devrim GÜNDÜZ <devrim@gunduz.org>
Дата:
Вложения:

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


FAQ