help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keys file disapearing


From: Mark . Burgess
Subject: Re: keys file disapearing
Date: Tue, 16 Apr 2002 18:04:06 +0200 (MET DST)

On 10 Apr, Benjamin Herbert wrote:
> 
> 
> Im am running cfengine1.5.4-5 (rpm) on a redhat 7.2 machine.  I built a
> keys file in /var/run/cfengine so I could use secure=true.  It works fine
> until I reboot the machine.  When I look in /var/run/cfengine to inspect
> the keys file it's gone.  Something is deleting the contents of this
> directory when I reboot.  Does anybody have any information about this or
> has anybody had the same experience?  Any info would be appreciated.
> 
> One more thing - when i stop and restart the daemon without rebooting, the
> keys file remains in the directory and everything works fine (it is only
> when i reboot that i have problems).
> 
> Thanks for the help.
> 
> Ben

Yes, some OSes clear the contents of /var/run on reboot, so this is not
a good idea. I would put the keys in /var/cfengine or /etc/cfengine or 
something.

If you are getting started with this, I would recommend
compiling a recent versino of cfengine (preferably versino 2.0.1)
from www.cfengine.org.

Good luck!

Mark

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

[Prev in Thread] Current Thread [Next in Thread]