Lars Wirzenius wrote:
[replying to the list instead of privately, since this is of common
interest, IMHO :-]
If the protocol in the publib library has a way to get around that
problem, I'd be interesting in learning more about it (and, possibly,
dreaming up cases in which it might fail :-)
I
Christian == Christian Schwarz [EMAIL PROTECTED] writes:
What happens? Can you describe the problem? Explain your
setup in more detail, please. I would like to know more about
the problems that are encountered with nfs.
Christian The servers receives all mails from the
Miquel == Miquel van Smoorenburg [EMAIL PROTECTED] writes:
Miquel I now have open() in a preloaded library, /lib/nfslock.so
Miquel that gets preloaded on all our machines through
Miquel /etc/ld.so.preload. Does about the same thing, and lets us
Miquel safely share mail over NFS.
According to Karl M. Hegbloom:
Miquel == Miquel van Smoorenburg [EMAIL PROTECTED] writes:
Miquel I now have open() in a preloaded library, /lib/nfslock.so
Miquel that gets preloaded on all our machines through
Miquel /etc/ld.so.preload. Does about the same thing, and lets us
John Goerzen [EMAIL PROTECTED] writes:
However, why is it bad if a given program (like Elm-ME+ which I
maintain, which brought the issue to my attention this time) uses
*both* locking mechanisms?
The only problem I know of is that with two locking schemes, if all
programs don't agree on the
[EMAIL PROTECTED] said:
Hmm, but why would that cause a problem with mailers/programs that use
lockfile locking *and* flock/fcntl locking at the same time?
Last time this discussion came up, Bruce found some info in the debian mail
archive related to this. Can't find it now, though. If I
In article [EMAIL PROTECTED], Lars Wirzenius [EMAIL PROTECTED] wrote:
--==_Exmh_970021023P
Publib uses the return value from the stat call, which
you're not supposed to do. (I don't know why yet.)
I check that the link count is two to see if I managed to create
the lock file with link(2). If
In article [EMAIL PROTECTED], Lars Wirzenius [EMAIL PROTECTED] wrote:
--==_Exmh_970021023P
Content-Type: text/plain; charset=us-ascii
[ Please don't Cc: public replies to me. ]
Karl M. Hegbloom:
What happens? Can you describe the problem? Explain your setup in
more detail, please. I would
On 20 Jun 1997, Karl M. Hegbloom wrote:
Christian == Christian Schwarz [EMAIL PROTECTED] writes:
Christian This is buggy since it's not working over NFS. (I'm
Christian running into problems every few days since I use
Christian sendmail/procmail/pine over a NFS mounted
John Goerzen [EMAIL PROTECTED] writes:
Why are we using dotfile locking only? There are much better
mechanisms (flock, etc.) that should be used instead. I can see no
place where dotfile locking would work and flock-style locking would
fail...
I think flock can fail across NFS in certain
John Goerzen wrote:
Why are we using dotfile locking only? There are much better
mechanisms (flock, etc.) that should be used instead. I can see no
place where dotfile locking would work and flock-style locking would fail...
We don't have a lock daemon for NFS.
--
Thomas Koenig, [EMAIL
Rob == Rob Browning [EMAIL PROTECTED] writes:
Rob I think flock can fail across NFS in certain situations, but
Rob I'm no locking expert.
You can read the man page to open(3) for a partial explaination.
--
Karl M. Hegbloom [EMAIL PROTECTED] finger or ytalk:
On Fri, 20 Jun 1997, Lars Wirzenius wrote:
[ Please don't Cc: public replies to me. ]
John Goerzen:
Why are we using dotfile locking only? There are much better
mechanisms (flock, etc.) that should be used instead. I can see no
place where dotfile locking would work and flock-style
: Mailboxes are locked using the username.lock lockfile convention, rather
: than fcntl, flock or lockf.
: This is buggy since it's not working over NFS. (I'm running into problems
: every few days since I use sendmail/procmail/pine over a NFS mounted
: /var/spool/mail !)
I am using
Christian == Christian Schwarz [EMAIL PROTECTED] writes:
Christian This is buggy since it's not working over NFS. (I'm
Christian running into problems every few days since I use
Christian sendmail/procmail/pine over a NFS mounted
Christian /var/spool/mail !)
Christian That's
This sounds good to me. When finished, we should announce this
on c.o.l.a. and try to see if the Red Had folks will adopt it as
well. If we both adopt it as policy, then it will live on forever!
-Erik
--
Erik B. Andersen Web:http://www.inconnect.com/~andersen/
email:
Rob Browning [EMAIL PROTECTED] writes:
John Goerzen [EMAIL PROTECTED] writes:
Why are we using dotfile locking only? There are much better
mechanisms (flock, etc.) that should be used instead. I can see no
place where dotfile locking would work and flock-style locking would
fail...
-BEGIN PGP SIGNED MESSAGE-
On 20 Jun 1997, John Goerzen wrote:
I think flock can fail across NFS in certain situations, but I'm no
locking expert.
Hmm, but why would that cause a problem with mailers/programs that use
lockfile locking *and* flock/fcntl locking at the same time?
18 matches
Mail list logo