Skip site navigation (1) Skip section navigation (2)

Re: Re: Sure enough, the lock file is gone

From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: Florent Guillaume <efgeor(at)noos(dot)fr>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: Sure enough, the lock file is gone
Date: 2001-01-27 19:09:11
Message-ID: 3A731CD7.6F0EA82B@wgcr.org (view raw or flat)
Thread:
Lists: pgsql-hackers
Florent Guillaume wrote:
> 
> /tmp is for *temporary* files. Such a lock is not a temporary file, it
> should go somewhere in /var, why not in /var/lib/pgsql/data ?

/var/lib is also not for locks, per FHS.

/var/lock/pgsql (or /var/lock/postgresql....) would be the FHS-mandated
place for such a file.

Comments?  _Why_ is the lock in /tmp?  Won't the lock always be put into
place by the uid used to run postmaster?  Is a _world_ writeable
temporary directory the right place?

7.2 discussion, however, IMHO.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

In response to

Responses

pgsql-hackers by date

Next:From: The Hermit HackerDate: 2001-01-27 19:14:13
Subject: Re: Re: Sure enough, the lock file is gone
Previous:From: Bruce MomjianDate: 2001-01-27 18:46:43
Subject: Re: PgAccess - small bug?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group