-l locktimeout | -s suspend | -! |
-ml | -mu | file-name ...
...
lockfile
important.lock
...
access_"important"_to_your_hearts_content
...
rm
-f important.lock
...
Now if all the scripts that access
"important" follow this guideline, you will be assured that at most one script
will be executing between the `lockfile' and the `rm' commands.
| LOGNAME | used as a hint to determine the invoker's loginname |
| /etc/passwd | to verify and/or correct the invoker's loginname (and to find out his HOME directory, if needed) |
| /var/mail/$LOGNAME.lock | lockfile for the system mailbox, the environment variables present in here will not be taken from the environment, but will be determined by looking in /etc/passwd |
| Forced unlock denied on "x" | No write permission in the directory where lockfile "x" resides, or more than one lockfile trying to force a lock at exactly the same time. |
| Forcing lock on "x" | Lockfile "x" is going to be removed by force because of a timeout (compare LOCKTIMEOUT in procmail(1)). |
| Out of memory, ... | The system is out of swap space. |
| Signal received, ... | Lockfile will remove anything it created till now and terminate. |
| Sorry, ... | The retries limit has been reached. |
| Truncating "x" and retrying lock | "x" does not seem to be a valid filename. |
| Try praying, ... | Missing subdirectories or insufficient privileges. |
<procmail@informatik.rwth-aachen.de>
for submitting questions/answers.
<procmail-request@informatik.rwth-aachen.de>
for subscription requests.