procmail
[Top] [All Lists]

Re: build procmail with conservative locking?

1998-02-06 06:18:33
Wed 98-02-04 *(_at_)acuson(_dot_)com list.procmail
| Regarding  building procmail-3.11pre7:
| How would one rewrite Makefile and/or config.h (?) to be most 
| conservative in choice of locking mechanism

I let the others comment the exact settings, but here is tip from Stephen.
jari

    18.13 Compiling procmail and locking scheme [pm-tips.txt]

        [stephen] Everything except dot locking is broken usually. Remove
        fcntl() and lockf(), only allow flock() (or omit it completely) Kernel
        locks don't work. But that's all some programs use. Across a networked
        filesystem, lockf() doesn't work, fcntl() and flock() should, but they
        don't either because the lockd is buggy. Mailtool uses fcntl() but
        does it wrong, so that's another problem. The only thing that works on
        all platforms, all networks, all the time are .lock files.

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