Re: location of the configuration files

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: mlw <pgsql(at)mohawksoft(dot)com>
Cc: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>, Christopher Browne <cbbrowne(at)acm(dot)org>, pgsql-hackers(at)postgresql(dot)org, Kevin Brown <kevin(at)sysexperts(dot)com>, Curt Sampson <cjs(at)cynic(dot)net>, Rod Taylor <rbt(at)rbt(dot)ca>, Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
Subject: Re: location of the configuration files
Date: 2003-02-13 22:44:29
Message-ID: 1045176269.12930.576.camel@camel
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 2003-02-13 at 14:51, mlw wrote:
>
>
> Robert Treat wrote:
>
>
> On Thu, 2003-02-13 at 12:13, mlw wrote:
>
>
>
> My patch only works on the PostgreSQL server code. No changes have been
>
> made to the initialization scripts.
>
>
>
> The patch declares three extra configuration file parameters:
>
> hbafile= '/etc/postgres/pg_hba.conf'
>
> identfile='/etc/postgres/pg_ident.conf'
>
> datadir='/RAID0/postgres'
>
>
> If we're going to do this, I think we need to account for all of the
>
> files in the directory including PG_VERSION, postmaster.opts,
>
> postmaster.pid. In the end if we can't build so that we are either fully
>
> FHS compliant and/or LSB compliant, we've not done enough work on it.
>
>
> postmaster.opts, PG_VERSION, and postmaster.pid are not configuration
> parameters.
>

So? I'm not saying they all have to be moved, just they all need to be
accounted for.

> PG_VERSION is VERY important, it is how you know the version of the
> database.
> Postmaster.pid is a postgres writable value
> AFAIK, postmaster.opts is also a postgres writable value.
>

IIRC the postmaster.pid file should be in /var/run according to FHS, I'm
not sure about postmaster.opts though...

Again, if we're going to make a change, let's make sure we think it
through.

Robert Treat

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-02-13 22:53:53 Re: location of the configuration files
Previous Message Robert Treat 2003-02-13 22:29:24 Re: location of the configuration files