Re: EL7 and Apache private /tmp/ directories - Mailing list pgsql-pkg-yum

From James Laska
Subject Re: EL7 and Apache private /tmp/ directories
Date
Msg-id CAFyeYZ6-eNPubqosU4GL2Ur4HL+gn+FfYnty4Gaq9aZr2r51Zw@mail.gmail.com
Whole thread Raw
In response to Re: EL7 and Apache private /tmp/ directories  (Devrim Gündüz <devrim@gunduz.org>)
List pgsql-pkg-yum

On Tue, May 12, 2015 at 3:59 PM, Devrim Gündüz <devrim@gunduz.org> wrote:

Thanks for the heads-up. New PostgreSQL minor releases are due next
week, and I'll queue this for that.

Greetings Devrim, 

I noticed additional changes will be needed in the next EL7 build.  Since /run (and /var/run) are a tmpfs mounted at boot, the postgresql.spec will also need to create `/var/run/postgresql` on bootup.  Otherwise, postgresql will fail to start on boot as the socket directory is not present.  This is fixed by using systemd-tmpfiles. 

The postgresql.spec will need to be updated to include, and install, a tmpfiles.d conf file.  The relevant postgresql.spec changes, and additional postgresql.tmpfiles.d %{source} are available at http://pkgs.fedoraproject.org/cgit/postgresql.git/tree/postgresql.spec.

Thanks,
James

pgsql-pkg-yum by date:

Previous
From: Laurent Wandrebeck
Date:
Subject: RHEL7 pgbouncer package /run/pgbouncer rights glitch after reboot
Next
From: Peter Eisentraut
Date:
Subject: Re: pgbouncer systemd does not work on CentOS 7