help-cfengine
[Top][All Lists]
Advanced

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

Re: keys file disapearing


From: Benjamin Herbert
Subject: Re: keys file disapearing
Date: Wed, 10 Apr 2002 15:46:19 -0500 (CDT)

I figured out that rc.sysinit was wiping out /var/run but why is cfengine
then configured to put the keys file there.  It wont work anywhere else.
I installed cfengine as rpm so I would need to specify the keys locations
in a file (maybe cfd.conf) but I don't know the syntax, if even there is
any.  It just seems weird that by default they would want the keys file to
go in a volitile location.

Thanks for the help guys.



On 10 Apr 2002, Alan Sparks wrote:

> Take a look at /etc/rc.d/rc.sysinit around line 644.  Wipes out much of
> /var/run on reboot.  /var/run is normally considered to be volatile.  If
> the keys file can be relocated by configure option to some place not
> volatile (like /etc), much better.  Otherwise you'll need to change the
> init script.
> -Alan
> 
> On Wed, 2002-04-10 at 13:40, 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
> > 
> > 
> > _______________________________________________
> > Help-cfengine mailing list
> > Help-cfengine@gnu.org
> > http://mail.gnu.org/mailman/listinfo/help-cfengine
> -- 
> Alan Sparks, Sr. UNIX Administrator   asparks@quris.com
> Quris, Inc.                           (720) 836-2058
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine
> 




reply via email to

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