first off, the lock file is put in by an unprivileged user, so /tmp works on all systems ... second, /tmp on a large portion of systems gets cleaned out after a reboot, so there are no 'stray locks' to generally worry about... On Sat, 27 Jan 2001, Lamar Owen wrote: > 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 > Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: [EMAIL PROTECTED] secondary: scrappy@{freebsd|postgresql}.org
- Re: [HACKERS] Sure enough, the lock file is... Bruce Momjian
- Re: [HACKERS] Sure enough, the lock file is gon... Peter Eisentraut
- Re: [HACKERS] Sure enough, the lock file is... Tom Lane
- Re: [HACKERS] Sure enough, the lock fil... Tom Lane
- Re: [HACKERS] Sure enough, the lock... Bruce Momjian
- Re: [HACKERS] Sure enough, the... Ross J. Reedstrom
- [HACKERS] Re: Sure enough, the lock file is... GB Clark II
- Re: [HACKERS] Sure enough, the lock file is gone Alfred Perlstein
- [HACKERS] Re: Sure enough, the lock file is gone Florent Guillaume
- Re: [HACKERS] Re: Sure enough, the lock file is... Lamar Owen
- Re: [HACKERS] Re: Sure enough, the lock fil... The Hermit Hacker
- Re: [HACKERS] Re: Sure enough, the lock... Lamar Owen
- Re: [HACKERS] Re: Sure enough, the ... Peter Eisentraut
- Re: [HACKERS] Re: Sure enough,... Lamar Owen
- Re: [HACKERS] Re: Sure eno... Tom Lane
- [HACKERS] Re: Sure enough,... Florent Guillaume
- Re: [HACKERS] Re: Sure eno... Trond Eivind Glomsrød
- Re: [HACKERS] Re: Sure eno... Tom Lane
- Re: [HACKERS] Re: Sure eno... Lamar Owen
- Re: [HACKERS] Re: Sure eno... Trond Eivind Glomsrød
- Re: [HACKERS] Re: Sure eno... Lamar Owen