On 29 jul 2010, at 16:14, Daniel V. Klein wrote:

> 
> Correct me if I am wrong, but there does not appear to be a bundle named 
> "crash" anywhere, right?
> 
That is true. I made a typo in a bundle name and cf-agent crashed.  I just made 
an example to illustrate the behavior  that i experienced.

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
>> b...@sara.nl
>> 
>> 
>> 
>> _______________________________________________
>> 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

--
Bas van der Vlies
b...@sara.nl



_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to