Re: What's the logic of touching /var/log/pgsql ? - Mailing list pgsql-pkg-yum

From Devrim Gündüz
Subject Re: What's the logic of touching /var/log/pgsql ?
Date
Msg-id 1407456604.2748.0.camel@asus-laptop-03.gunduz.org
Whole thread Raw
In response to What's the logic of touching /var/log/pgsql ?  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: What's the logic of touching /var/log/pgsql ?
List pgsql-pkg-yum
Hi,

On Fri, 2014-08-01 at 15:52 +0800, Craig Ringer wrote:
> The PGDG spec files for PostgreSQL have the following lines in the
> server preinst section:
>
> %pre server
> ... creates Pg user ...
> touch /var/log/pgsql
> chown postgres:postgres /var/log/pgsql
> chmod 0700 /var/log/pgsql
>
>
> What's the logic there? Why create an empty /var/log/pgsql file owned
> by user 'pgsql' ? It's not used for anything and just seems confusing.

It is obsoleted, can be removed.

Regards,

--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachment

pgsql-pkg-yum by date:

Previous
From: Craig Ringer
Date:
Subject: Re: RHEL 5 SRPM has invalid build-depends
Next
From: Ketan Padegaonkar
Date:
Subject: Unable to install postgis2_92