procmail
[Top] [All Lists]

Re: dotlocking issues over NFS

2006-12-14 16:42:00

It turns out the hard option is default on FreeBSD. There's just something 
inherently wrong here. I see from source code that procmail creates a 
unique file and then renames it to the desired lockfile name. That should 
be bulletproff, but it somehow isn't.

P.

On Thu, 14 Dec 2006, Paul Sandys wrote:

Date: Thu, 14 Dec 2006 18:09:50 -0500 (EST)
From: Paul Sandys <myj(_at_)nyct(_dot_)net>
To: Michelle Konzack <linux4michelle(_at_)freenet(_dot_)de>
Cc: procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
Subject: Re: dotlocking issues over NFS


There's no "hard" option on FreeBSD.

I tried having a Linux box deliver to the same NFS mounted directory and
the corruption was much worse than with just FreeBSD boxes. I'll try the
"hard" option on Linux.

But as far as FreeBSD goes, the dotlocking is broken :(

P.

On Wed, 13 Dec 2006, Michelle Konzack wrote:

Date: Wed, 13 Dec 2006 16:30:43 +0100
From: Michelle Konzack <linux4michelle(_at_)freenet(_dot_)de>
To: procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
Subject: Re: dotlocking issues over NFS

Am 2006-12-08 07:46:32, schrieb Bart Schaefer:
I presume since you said that only dotlocking is enabled that these
are "nolock" NFS mounts?  Are they also "hard" mounts?  Even
procmail's careful lock file creation algorithm is not guaranteed to
work on a "soft" mount.

I had this problem for some years too.

If you mount the NFS-Share, you NEED the option "hard".

I personaly use:

samba3:/home /home nfs rw,bg,hard,intr,tcp,vers=3,rsize=8192,wsize=8192 0 0


Greetings
   Michelle Konzack
   Systemadministrator
   Tamay Dogan Network
   Debian GNU/Linux Consultant


--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                  50, rue de Soultz         MSM LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


Paul Sandys
network operations manager
http://www.nyct.net/
212.293.2620

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


Paul Sandys
network operations manager
http://www.nyct.net/
212.293.2620

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>