| From: | Devrim Gündüz <devrim(at)gunduz(dot)org> |
|---|---|
| To: | Craig Ringer <craig(at)2ndquadrant(dot)com> |
| Cc: | pgsql-pkg-yum <pgsql-pkg-yum(at)postgresql(dot)org> |
| Subject: | Re: What's the logic of touching /var/log/pgsql ? |
| Date: | 2014-08-08 00:10:04 |
| Message-ID: | 1407456604.2748.0.camel@asus-laptop-03.gunduz.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Devrim Gündüz | 2014-08-08 16:36:03 | Re: PostGIS RPM for CentOS 6 install reps failed |
| Previous Message | Sallinen Timo (MML) | 2014-08-05 11:14:40 | Installing/Updating GDAL fails after update to Armadillo package (EPEL) |