> I've seen systems here where fcntl(2) locking doesn't seem to work. Pine
> and procmail love corrupting mailboxes on these systems. Procmail is
> compiled with fcntl() locking and dot file locking. Elm uses both fcntl()
> and dot locking (as we have it compiled) and worked fine. When procmail
> was recompiled without dot file locking, Elm started failing too (failed
> means it reported a corrupted mailbox if it checked the mailbox while mail
> was coming in). All of this was on Linux 2.0.x systems using
> libc-5.4.33/37.
I killed a process the other day; the kernel did not release a file
lock it was holding. The process was hung in the SCSI generic driver,
if that matters, kernel 2.0.30 +pre6.
Joe Buehler