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
}}}
after this i must the delete the lock database:
* rm /var/lib/cfengine3/state/cf_lock.db
--
Bas van der Vlies
[email protected]
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine