Re: RHEL7 pgbouncer package /run/pgbouncer rights glitch after reboot - Mailing list pgsql-pkg-yum

From Jeff Frost
Subject Re: RHEL7 pgbouncer package /run/pgbouncer rights glitch after reboot
Date
Msg-id C3E57708-A8E2-40EF-9EA6-94F8CB67E8D6@pgexperts.com
Whole thread Raw
In response to Re: RHEL7 pgbouncer package /run/pgbouncer rights glitch after reboot  (Laurent Wandrebeck <l.wandrebeck@quelquesmots.fr>)
Responses Re: RHEL7 pgbouncer package /run/pgbouncer rights glitch after reboot
List pgsql-pkg-yum

On May 30, 2015, at 1:22 AM, Laurent Wandrebeck <l.wandrebeck@quelquesmots.fr> wrote:



Le lun. 18 mai 2015 à 18:52, Jeff Frost <jeff@pgexperts.com> a écrit :

Looks like that’s this bit here in the spec file:

%global _varrundir %{_localstatedir}/run/%{name}

<SNIP>

# ... and make a tmpfiles script to recreate it at reboot.
%{__mkdir} -p %{buildroot}%{_tmpfilesdir}
cat > %{buildroot}%{_tmpfilesdir}/%{name}.conf <<EOF
d %{_varrundir}/pgbouncer 0700 pgbouncer pgbouncer -
EOF

I’m thinking the intent would be this:

d %{_varrundir} 0700 pgbouncer pgbouncer -

but just want Devrim to have a chance to comment.

Hi Jeff !

I agree with you here :) So just wanted to up that subject a bit. Haven’t heard of Devrim, nor git tree seems to have a fix on that point.

Keep up the good work,
Laurent.


Sorry for the slow reply, but I’ve been on vacation.

I just cut a branch jf/fix_pgbouncer_varrundir to fix this.

Will probably get that merged the next time we build these.

pgsql-pkg-yum by date:

Previous
From: Bartłomiej Syryjczyk
Date:
Subject: Re: Problem with slony1-94 package
Next
From: Laurent Wandrebeck
Date:
Subject: Re: RHEL7 pgbouncer package /run/pgbouncer rights glitch after reboot