On Jul 29, 2010, at 4:04 PM, Daniel V. Klein wrote:

> Correct me if I am wrong, but there does not appear to be a bundle  
> named "crash" anywhere, right?
>
Dan your right it is not defined. I made a typo in a bundle name and  
cf-agent crashed. So i made a simple example to illustrate the problem

regards

> -Dan
>
> On Jul 29, 2010, at 3:49 AM, Bas van der Vlies wrote:
>
>> On 28 jul 2010, at 17:28, Bas van der Vlies wrote:
>>
>>> Hello,
>>>
>>> cfengine 3.0.5, did not see anything in the Changelog if this is/ 
>>> was fixed.  Here is the test:
>>>
>>> crash.cf:
>>> body common control
>>> {
>>>      ignore_missing_bundles => "true";
>>>      bundlesequence => { "action" };
>>> }
>>>
>>> bundle agent action
>>> {
>>>      methods:
>>>              "any" usebundle => crash();
>>>
>>>      commands:
>>>              "/bin/echo action";
>>>
>>> }
>>>
>>> cf-agent -f /var/tmp/crash.cf
>>> {{{
>>> 17:26 gb-r10n2.irc.sara.nl:/var/tmp
>>> root# cf-agent -f /var/tmp/crash.cf
>>> Q: ".../bin/echo actio": action
>>> I: Last 1 QUOTed lines were generated by promiser "/bin/echo action"
>>> Segmentation fault
>>> }}}
>>>
>>
>> Just tested it with 3.0.5p1 and the trunk version and this also  
>> crashes.
>>
>> --
>> Bas van der Vlies
>> [email protected]
>>
>>
>>
>> _______________________________________________
>> Help-cfengine mailing list
>> [email protected]
>> https://cfengine.org/mailman/listinfo/help-cfengine
>

--
Bas van der Vlies
[email protected]



_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to