public inbox for [email protected]  
help / color / mirror / Atom feed
From: Devrim GÜNDÜZ <[email protected]>
To: Guillaume Lelarge <[email protected]>
To: pgsql-pkg-yum <[email protected]>
Subject: Re: Bug in repmgr3 package
Date: Mon, 09 Nov 2015 11:19:36 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAECtzeU3j1HxgV730E5h+Sfe0AKTom9C+0Buoycg2ZUebipeXQ@mail.gmail.com>
References: <CAECtzeUGuSHi_QHbswo579p20z87zwYjZUHBQbppCUOKJ70FXw@mail.gmail.com>
	<CAECtzeU3j1HxgV730E5h+Sfe0AKTom9C+0Buoycg2ZUebipeXQ@mail.gmail.com>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-pkg-yum>



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.

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 <[email protected]>
> :
> 
> > 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




Attachments:

  [application/pgp-signature] signature.asc (819B, 2-signature.asc)
  download

view thread (10+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Bug in repmgr3 package
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox