procmail is not able to create lock files on NFS share

This document (3792040) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Desktop 10
SUSE Linux Enterprise Server 10


Procmail is not able to create lock files on an NFS share.



The problem is fixed with the latest procmail package (procmail-3.22-56.8).


Additional Information

Root cause

The problem is that since the kernel 2.6.12, the Linux NFS client simulatesflocklocks using fcntl locks on the server. This works fineunlessa client tries to take both an flock and an fcntl lockon the same file at the same time and expects them both to succeed.

This cannot work with the current Linux NFS implementation as theserver will reject the second lock as it sees a conflict. For localfilesystems, the locks are in separate address spaces, and no conflictis seen.

This affects any kernel since 2.6.12 (which includes SLES10) runningwith any program that tries to get both a flock lock and anfcntllock,which procmail does when compiled with LOCKINGTEST=101, but not whencompiled with LOCKINGTEST=100.


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:3792040
  • Creation Date: 01-Jan-2008
  • Modified Date:19-Mar-2021
    • SUSE Linux Enterprise Desktop
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center