Re: cf-execd foreground

2012-05-11 Thread Taj Khattra
On Fri, May 11, 2012 at 7:31 PM, Mike Svoboda wrote: > Process supervision?  What are you trying to use?  Runit? s6, a close cousin of runit (http://www.skarnet.org/software/s6) > You should be able to spawn a process and verify the pid still is online. yep, that's what s6-supervise tries to do

cf-execd foreground

2012-05-11 Thread Taj Khattra
i'm attempting to run cfengine3 under process supervision, so I'd like the services to run in the foreground (i.e. no fork). "cf-monitord -F" and "cf-serverd -F" work as expected, but "cf-execd -F" also implies ONCE=true, so cf-execd exits after one run? in cfengine2, I believe it was possible to

Re: cf-agent 3.3.0 segmentation violation

2012-05-02 Thread Taj Khattra
On Wed, May 2, 2012 at 4:03 PM, Neil Watson wrote: > I'm no C hacker but I've seen seg faults too with 3.3. Might be related > Bug report: > https://cfengine.com/bugtracker/view.php?id=1089 i don't think they're related - i saw this with cfengine-3.2.1 too. _

cf-agent 3.3.0 segmentation violation

2012-05-02 Thread Taj Khattra
platform: rhel 5 (2.6.18-194.el5), cfengine-community-3.3.0-1.x86_64.rpm the bundle below triggers a sigsegv in cf-agent. gdb stack trace indicates that strcmp() was called with a null first argument (logname) by SummarizeTransaction(). thanks -taj core.cf body common control { bundle