Re: Installation placed on read only partition

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Fredrik Israelsson" <fredrik_is(at)hotmail(dot)com>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Installation placed on read only partition
Date: 2006-10-02 12:31:24
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCEA3576B@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Pallav Kalva 2006-10-02 15:04:11 Postgres Logging doesnt work
Previous Message Fredrik Israelsson 2006-10-02 12:27:03 Installation placed on read only partition