2.1.43 and file locking - Bug or feature?

Kristofer T. Karas (ktk@ktk.bidmc.harvard.edu)
Fri, 27 Jun 1997 17:46:41 -0400

I've been bitten a few times by an inability of various mail programs
to interlock with sendmail/procmail while using 2.1.43. I'm guessing
some change has been made to file locking, but am not sure if the
"bug" is really a feature (i.e. programs that use file locking need to
be recompiled, or some such).

For example, while using 2.0.30, I'll attempt to get new mail in
emacs/RMAIL while a message is being delivered, and emacs will
complain, correctly,
"movemail: Device or resource busy for /var/spool/mail/ktk busy."
Now, under 2.1.43, the movemail program does not complain; it reads
the partially-written mail message (often just one character), appends
it onto the end of the RMAIL file, and complains that the RMAIL folder
cannot be parsed.

I'm using 2.1.43 in non-SMP mode, using Linus's default configuration
except for kerneld, lance ethernet, no SCSI, no automounter.

Kristofer Karas - SysAdmin, BI Deaconness Med. Ctr. - ktk@ktk.bidmc.harvard.edu
AMA/CCS, DoD, RF900RR, HawkGT, !car     ***  http://ktk.bidmc.harvard.edu/~ktk/
"Health nuts are going to feel stupid someday, lying in hospitals dying
 of nothing."  -- Redd Foxx             ***  Will design LISP machines for food