[Mailman-Developers] New LockFile.py

bwarsaw@python.org bwarsaw@python.org
Mon, 1 May 2000 14:49:22 -0400 (EDT)

>>>>> "RJ" == Ron Jarrell <jarrell@vt.edu> writes:

    RJ> 1) This makes mailman very sensitive to time synchonization
    RJ> problems in environments with NFS mounted directories
    RJ> (possibly more a problem with mailman than many others since
    RJ> it's so easy to just run it out of ~mailman as a regular
    RJ> user).

True, but I think in the face of lock breakage, you're going to be
sensitive to time sync anyway.  I've also added a CLOCK_SLOP variable
which can be tweaked if necessary.

    RJ> 2) Setting mtime in the future will probably piss off fsck;
    RJ> which in environments with multiple systadmins, or the mailman
    RJ> person isn't a sysadmin, could be horribly confusing.

Hmm, hadn't though of that.  Hopefully, I've made the termination
cases sufficiently robust so that those lock files won't hang around
long enough to get fsck'd.

    RJ> Both can probably be addressed by adding warnings to the
    RJ> readme and/or install files.

Good points both; I'll do this.  Thanks.