On Wed, 2002-04-10 at 15:25, Amy Tanner wrote:
> Is it normal for files created in /var/run to be deleted upon reboot?
> If yes, what is deleting them?
> 
> 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.

If you can't find another way, I'd suggest making the keyfile in
/var/run/cfengine a symlink (possibly to /etc/cfengine/foo) and
re-creating it on boot.