Re: [HACKERS] postmaster crash and .s.pgsql file

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: brook(at)trillium(dot)nmsu(dot)edu (Brook Milligan)
Cc: hackers(at)postgreSQL(dot)org (PostgreSQL-development)
Subject: Re: [HACKERS] postmaster crash and .s.pgsql file
Date: 1998-01-29 16:50:48
Message-ID: 199801291650.LAA12187@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> > I would opt for /var/run to store the pid files and have the name set to
>
> That would assume that postmaster runs as root, which is not
> allowed...has to be in /tmp somewhere
>
> No. Make /var/run writable by some group (e.g., group pidlog) and put
> postgres (and other things like root or daemon or ..., whatever needs
> to log pid files) in that group.
>
> /var/run really is where a pid file should be. I submitted a patch
> that would do this some time ago. I'll resend it if there is
> interest.

We can't expect the user to be able to change /var/run permissions.
Must be in pgsql/ or /tmp.

--
Bruce Momjian
maillist(at)candle(dot)pha(dot)pa(dot)us

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-01-29 19:04:32 Re: [HACKERS] Error in nodes/parse_node.h
Previous Message Goran Thyni 1998-01-29 16:31:15 Re: [HACKERS] postmaster crash and .s.pgsql file