Re: problem with folder locking: procmail and pine
On 2 Mar, John Goerzen wrote:
> On Mar 2, Santiago Vila Doncel wrote:
>
> > Debian procmail is patched to use *only* dot locking, as mandated by
> > Debian policy manual, 4.3.
>
> Hmm, is it just me or does that seem a little silly?
>
> What's wrong with using dot-locking in conjunction with fcntl/flock?
It blows up horribly if /var/spool/mail (or the local equivalent) is
mounted via NFS. Dot-locking is the *only* reliable locking mechanism
in that case; and since a Debian package can't know in advance what
its run-time environment should be, then it shouldn't use any locking
mechanism except .lock files.
--
M a l c . . . | "A wrong parameters may be caused the mainboard
(malc@thing.demon.co.uk) | out of order." -- Pentium motherboard manual.
Reply to: