[clue-tech] procmail: /tmp vs /var/tmp

Collins Richey crichey at gmail.com
Wed Jan 12 17:16:00 MST 2005


On Wed, 12 Jan 2005 17:04:18 -0700, Jeff Schroeder <jeff at neobox.net> wrote:
> Angelo asked:
> 
> > I wanted to know where the best place to put my procmail lock file.
> > I'm thinking it should be /tmp and not /var/tmp because procmail
> > shouldn't remain locked after a reboot.  Does this seem right to
> > others?
> 
> According to the Filesystem Hierarchy Standard, which many distros
> adhere to, lock files should be placed in /var/lock.  When the system
> is shut down, the shutdown scripts *should* delete any lock files in it
> before power-off.  That way, upon reboot you don't have any stale
> locks.
> 

And, most distros also clean lock files at boot.

-- 
 Collins



More information about the clue-tech mailing list