Re: EL7 and Apache private /tmp/ directories

From: James Laska <jal233(at)gmail(dot)com>
To: Devrim Gündüz <devrim(at)gunduz(dot)org>
Cc: pgsql-pkg-yum(at)postgresql(dot)org
Subject: Re: EL7 and Apache private /tmp/ directories
Date: 2015-05-15 13:57:21
Message-ID: CAFyeYZ6-eNPubqosU4GL2Ur4HL+gn+FfYnty4Gaq9aZr2r51Zw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

On Tue, May 12, 2015 at 3:59 PM, Devrim Gündüz <devrim(at)gunduz(dot)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

In response to

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Peter Eisentraut 2015-05-15 20:04:39 Re: pgbouncer systemd does not work on CentOS 7
Previous Message Laurent Wandrebeck 2015-05-14 09:42:27 Re: RHEL7 pgbouncer package /run/pgbouncer rights glitch after reboot