Re: Installation placed on read only partition - Mailing list pgsql-admin

From Magnus Hagander
Subject Re: Installation placed on read only partition
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA3576B@algol.sollentuna.se
Whole thread Raw
In response to Installation placed on read only partition  ("Fredrik Israelsson" <fredrik_is@hotmail.com>)
List pgsql-admin
> Hi!
> I would like to install postgresql on a Linux system where as much
> as possible of the OS- and program specific directories will be
> turned read only after installation.
> My intent is to place all files that needs to be writable on a
> second, read/write partition.
>
> My question is:
> Is there some files and/or directories in the postgresql
> installation that has to remain writable after installation?
> Of course, the directory pointed out by initdb -D will be in the
> read/write partition, and the same goes for the file pointed out by
> the -l flag for pg_ctl.

The directory of the unix socket file and the pid file also needs to be
writable. That's normally not kept in the same dir as any program files
or such, though.

//Magnus


pgsql-admin by date:

Previous
From: "Fredrik Israelsson"
Date:
Subject: Installation placed on read only partition
Next
From: Pallav Kalva
Date:
Subject: Postgres Logging doesnt work