Re: Bug in repmgr3 package

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Devrim Gündüz <devrim(at)gunduz(dot)org>
Cc: pgsql-pkg-yum <pgsql-pkg-yum(at)postgresql(dot)org>
Subject: Re: Bug in repmgr3 package
Date: 2015-11-09 13:02:41
Message-ID: CAECtzeUPRqPAt9AGNZ9E8518CMFRUQT2ndN9DmbdJU94HELt8g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

Le 9 nov. 2015 10:19 AM, "Devrim GÜNDÜZ" <devrim(at)gunduz(dot)org> a écrit :
>
>
>
> Hi Guillaume,
>
> Thanks for the patch!
>
> I committed your patch:
>
> http://git.postgresql.org/gitweb/?p=pgrpms.git;a=commit;h=0cdf38c03aebb
> 45a40aa5895cf0753237320f164
>
> I also changed the username from repmgr to postgres. I pushed this
> change only to 9.5 for now. Will push and test packages today, and then
> I'll update the remaining branches.
>

Great, thanks Devrim.

> Regards, Devrim
>
> On Tue, 2015-11-03 at 15:42 +0100, Guillaume Lelarge wrote:
> > Hey,
> >
> > 2015-11-03 10:54 GMT+01:00 Guillaume Lelarge <guillaume(at)lelarge(dot)info>
> > :
> >
> > > Hi,
> > >
> > > When installing repmgr3 package on a CentOS 6 64 bits, I always end
> > > up
> > > with an error at postinstall saying that /var/run/repmgr doesn't
> > > exist.
> > >
> > > Here is a patch that will hopefully fix that. (The patch deals with
> > > all
> > > distro for 9.4 release. I didn't check other releases.)
> > >
> > >
> > I worked a bit more with repmgr. I found that the initscript doesn't
> > respect the $user variable all the time. Hence this new patch (which
> > includes the changes from the first patch).
> >
> > I'm also wondering why we do have this new OS user (repmgr). It seems
> > to be
> > more a burden than anything else. Actually, they have a much better
> > initscript in upstream that makes use the postgres OS user. The RPM
> > package
> > should embrace that change.
> >
> > Regards.
> >
> >
>
>
>
> --
> 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 Jeff Frost 2015-11-09 15:51:46 Re: Bug in repmgr3 package
Previous Message Devrim GÜNDÜZ 2015-11-09 09:24:26 Re: Fedora 23