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

RHEL7 pgbouncer package /run/pgbouncer rights glitch after reboot

From
Laurent Wandrebeck
Date:
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.