pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Installation placed on read only partition
2+ messages / 2 participants
[nested] [flat]

* Installation placed on read only partition
@ 2006-10-02 12:27 Fredrik Israelsson <fredrik_is@hotmail.com>
  2006-10-02 12:31 ` Re: Installation placed on read only partition Magnus Hagander <mha@sollentuna.net>
  0 siblings, 1 reply; 2+ messages in thread

From: Fredrik Israelsson @ 2006-10-02 12:27 UTC (permalink / raw)
  To: 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.

Thanks in advance!

Best regards,
Fredrik Israelsson

_________________________________________________________________
Klarar kräftskivan vädret? http://www.msn.se/weather/




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Installation placed on read only partition
  2006-10-02 12:27 Installation placed on read only partition Fredrik Israelsson <fredrik_is@hotmail.com>
@ 2006-10-02 12:31 ` Magnus Hagander <mha@sollentuna.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Magnus Hagander @ 2006-10-02 12:31 UTC (permalink / raw)
  To: Fredrik Israelsson <fredrik_is@hotmail.com>; 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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-10-02 12:31 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-10-02 12:27 Installation placed on read only partition Fredrik Israelsson <fredrik_is@hotmail.com>
2006-10-02 12:31 ` Magnus Hagander <mha@sollentuna.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox