Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zvic5-0005Sw-9Z for pgsql-pkg-yum@arkaria.postgresql.org; Mon, 09 Nov 2015 09:19:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zvic4-0003aC-Rv for pgsql-pkg-yum@arkaria.postgresql.org; Mon, 09 Nov 2015 09:19:44 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zvic4-0003YI-4k for pgsql-pkg-yum@postgresql.org; Mon, 09 Nov 2015 09:19:44 +0000 Received: from ns3.gunduz.org ([107.170.88.27] helo=ns1.gunduz.org) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zvic1-0006Pb-PO for pgsql-pkg-yum@postgresql.org; Mon, 09 Nov 2015 09:19:42 +0000 Received: from asus-laptop-03.gunduz.org (unknown [85.99.241.196]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ns1.gunduz.org (Postfix) with ESMTPSA id 5E610421D4; Mon, 9 Nov 2015 09:19:39 +0000 (UTC) Message-ID: <1447060776.3130.15.camel@gunduz.org> Subject: Re: Bug in repmgr3 package From: Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= To: Guillaume Lelarge , pgsql-pkg-yum Date: Mon, 09 Nov 2015 11:19:36 +0200 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-ZI6t5/jcp3wP++CTBHAH" X-Mailer: Evolution 3.18.1 (3.18.1-1.fc23) Mime-Version: 1.0 X-Pg-Spam-Score: -2.2 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-pkg-yum Precedence: bulk Sender: pgsql-pkg-yum-owner@postgresql.org --=-ZI6t5/jcp3wP++CTBHAH Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Guillaume, Thanks for the patch! I committed your patch: http://git.postgresql.org/gitweb/?p=3Dpgrpms.git;a=3Dcommit;h=3D0cdf38c03ae= bb 45a40aa5895cf0753237320f164 =C2=A0I 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, >=20 > 2015-11-03 10:54 GMT+01:00 Guillaume Lelarge > : >=20 > > Hi, > >=20 > > 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. > >=20 > > 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.) > >=20 > >=20 > 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). >=20 > 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. >=20 > Regards. >=20 >=20 --=20 Devrim G=C3=9CND=C3=9CZ Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR --=-ZI6t5/jcp3wP++CTBHAH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJWQGUoAAoJENjDPf6Sz261U0oP/RHxCFXbmiuSHzhadWQm3cIs UYQp2uz+33tcfARj0UEw95Q90f5WKFkjGoXm2PiRKojARS/ZeriMyscrJSGtpSdc vONz9AvKrZXXOpsmmbXJMk4PPu4xh5hEpWyA06oVda5W7IamhBmI8IYBvfy4re95 4R1e0yuVgFU4gGBQFuvLiV8u6B6O8uuyXNB2AszsoRVEblr6WuihBYCNEXbAS9Wx RRN2Rt+Siya9ZtkMpUqCH+uiCfu3S8F6+kUDqmPxY6oYn5xLqPkqPV/PWaoFWcMS fSB3R5l/gFv6KNm8RTAwvJAwyyn2BmIGHQIAe445G1lrLlb5NNBoXG3WI274tpPv AJL0ET0RZEgM9ddClJdQaL0qKMhicVhpf/qhQFeF9N3JGsDJHhxyzPo9rrKqtxR4 8HP3m67fMlIlJrnP+r2rChM/2lAmKmOCXRtkmrCw80P9eSbMrwELPlSYedtGO6je bFw143KusDVByTt3Nqm9eKVVIUI6lhgdjdK3XSLQHXKwi2BxGEPIfMrirv+tv6We HjC4ER2qHYWSfAg1Z5AvGC+LMEYNurHdVJov6xIz8gO/iK30+9I7DE6tO07yWet0 /Y55TN2YmMQ473l0z2k/kU0f6ixaQkaIRtXAyN9dNL1hlo0h1sXERXS60IV0UKGN FqT+bYcCb5F8UH/Q1Rlw =6Sjt -----END PGP SIGNATURE----- --=-ZI6t5/jcp3wP++CTBHAH--