Re: RHEL7 pgbouncer package /run/pgbouncer rights glitch after reboot

From: Laurent Wandrebeck <l(dot)wandrebeck(at)quelquesmots(dot)fr>
To: pgsql-pkg-yum(at)postgresql(dot)org
Subject: Re: RHEL7 pgbouncer package /run/pgbouncer rights glitch after reboot
Date: 2015-05-14 09:42:27
Message-ID: 20150514114227.Horde.usUY3s1imnHlvhHcdlTdkqH@mail.quelquesmots.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum


Laurent Wandrebeck <l(dot)wandrebeck(at)quelquesmots(dot)fr> a écrit :

> Hi,
>
> I’d like to report a small problem with latest pgbouncer package
> (1.5.5-1.rhel7).
>
> /var/run being tmpfs, /var/log/pgbouncer becomes root:root after a
> reboot, thus pgbouncer fails to start, being unable to write its pid
> file.
>
> I’ve done a quick search to find where to change it at boot, and I
> stumbled upon prosody package, whose /run/prosody is ok.
>
> The package contains:
> # cat /usr/lib/tmpfiles.d/prosody.conf
> d /run/prosody 755 prosody prosody
>
> Hope it helps for 1.5.5-2.rhel7 :)
>
> Keep up the good work,
>
> Best,
> Laurent.

Replying to myself after willing to fix it there…

There’s already a /usr/lib/tmpfile.d/pgbouncer.conf
but it’s content is a bit borked, /var/run/pgbouncer/pqbouncer (yes, twice).
There we have the culprit :)

Laurent.

In response to

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message James Laska 2015-05-15 13:57:21 Re: EL7 and Apache private /tmp/ directories
Previous Message Laurent Wandrebeck 2015-05-14 09:39:17 RHEL7 pgbouncer package /run/pgbouncer rights glitch after reboot