I agree with Brendan..
You could also set ifelapsed to 0 in the promises you don't want to 
lock, see 
http://www.cfengine.org/manuals/cf3-reference.html#action-in-_002a.

By the way, the purpose of all databases is described in the manual, 
http://www.cfengine.org/manuals/cf3-reference.html#Embedded-Databases .
No end to the treasures you can find there if you do some digging. :-)

The file was moved in svn code, this is due to support for multiple 
databases (current svn supports berkeley, tokoy cabinet, quick dbm) and 
thus need for name standardisation.

--
Regards,
Eystein

On 12/16/2009 02:07 AM, Brendan Strejcek wrote:
> I believe this file contains the state of ifelapsed for all promises.
> You probably should not delete it, unless you know what you are doing.
>
> You can always run cf-agent or cf-execd with -K if you want to avoid
> the locks on a particular run (such as to avoid the default one minute
> delay).
>
> On Tue, Dec 15, 2009 at 6:32 PM, Jean-Noël Rivasseau<elva...@gmail.com>  
> wrote:
>> Hi,
>>
>> in 3.0.2 this file was present in the cfengine direct folder as
>> cfengine_lock_db, but it seems to have moved to state/cf_lock.db in SVN
>> trunk.
>>
>> I don't know exactly the purposes of that file; I know only that it somehow
>> prevents cf-execd to start if the last cf-execd instance was started less
>> than one minute ago. I don't need this feature and it actually bothered me,
>> so in my startup script I just check for the presence of this file, and if
>> it's there, I just delete it.
>>
>> I was wondering if it was a bad thing to do, and if it could have other
>> implications, notably on a running cf-agent? What exactly does this lock
>> file contain?
>>
>> Jean-Noel
>>
>> _______________________________________________
>> Help-cfengine mailing list
>> Help-cfengine@cfengine.org
>> https://cfengine.org/mailman/listinfo/help-cfengine
>>
>>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to