On Wed, Apr 10, 2002 at 03:25:09PM -0500, Amy Tanner wrote:
> Is it normal for files created in /var/run to be deleted upon reboot?

Yes, according to the Filesystem Hierarchy Standard:

  5.10 /var/run : Run-time variable data

  This directory contains system information data describing the system
  since it was booted. Files under this directory should be cleared
  (removed or truncated as appropriate) at the beginning of the boot
  process.

> If yes, what is deleting them?

One of your init scripts, most likely.

> I'm trying to get cfengine to work with encryption, and according to the
> documentation, the key file needs to live in /var/run/cfengine.  This
> works fine until the box gets rebooted.  After a reboot the key file is
> no longer there (but the /var/run/cfengine directory is).  And I cannot
> find a way to specify an alternative location for the cfengine key file.

Hack the relevant init script to make it ignore the cfengine
directory and file a bug against cfengine.

-- 
When we reduce our own liberties to stop terrorism, the terrorists
have already won. - reverius

Innocence is no protection when governments go bad. - Tom Swiss