pgbouncer packaging issue

From: Brandon Snider <brandonjsnider(at)gmail(dot)com>
To: pgsql-pkg-yum(at)postgresql(dot)org
Subject: pgbouncer packaging issue
Date: 2018-01-09 18:47:47
Message-ID: CABSshC2iCU9+DeT8vvBXvYzJmMmjYM3CVshccRwDv7Pf-vMYrw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

Hi, I have an issue to report with a config file shipped in the
pgbouncer package.

You're installing /usr/lib/tmpfiles.d/pgbouncer.conf to create the
/var/run/pgbouncer dir, but the permissions on that dir are too
restrictive -- 700 -- for any file to be read by any user except
pgbouncer and root. In my situation, for whatever reason my PHP
implementation can't read unix sockets in /tmp, and I would like to
install the socket to the /var/run dir since the pgbouncer user has
write permissions there. This is a very similar situation as the
postgresql conf file which creates the /var/run/postgresql dir. I
could manually change the directory permission myself, but it would be
overwritten the next time there's a bouncer update.

Thanks.

-- Brandon J. Snider

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Peter Eisentraut 2018-01-09 18:59:04 Re: pgbouncer packaging issue
Previous Message Devrim Gündüz 2018-01-09 18:41:09 Re: Rebuild RPM from Source