Forum: Cfengine Help
Subject: Re: Finding "segfault at" error messages in syslog
Author: Sal
Link to topic: https://cfengine.com/forum/read.php?3,19645,19675#msg-19675

I have on more than one occasion had to rely on the failsafe to fix broken 
configs. Some of our new tasks are tested live, so to speak, by some of our 
sysads that have not gotten into the habit of running cf-promises before 
pushing the changes/additions. That's why I thought it was odd that I saw a 
segfault then nothing. I ran a manual run with 

cf-execd -F -K -v

on one of the instances that was segfaulting to watch the output and I saw it 
get to that bundle then it segfaulted and exited. Never got past that so it 
couldn't get to the failsafe portion of the process.

Correct me if I'm wrong but I believe that cf-execd verifies the syntax of the 
current local copy of the input files then starts the cf-agent failsafe and 
cf-agent standard run. It appeared that cf-execd was exiting before it could 
start the cf-agent failsafe run.

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

Reply via email to