Re: location of the configuration files

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
Cc: mlw <pgsql(at)mohawksoft(dot)com>, 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 19:43:27
Message-ID: 200302131943.h1DJhS211683@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Woh, how do we move some of those files into /etc or /var/run if we
aren't running as root? We certainly don't want to require that. I
guess /etc/postgresql will work if that directory is owned by the
PostgreSQL superuser, but /var/run will be a problem.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Oliver Elphick 2003-02-13 19:47:12 Re: location of the configuration files
Previous Message Bruce Momjian 2003-02-13 19:40:27 Re: Someone's broken psql's connection-failure error reporting