[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Complications with CFExecd as a child of init

From: Russell Adams
Subject: Complications with CFExecd as a child of init
Date: Wed, 19 Nov 2003 18:44:49 -0600
User-agent: Mutt/1.4i

I'm having issues with using cfexecd as a direct child of init, I
thought I'd share to get some feedback.

My systems boot into runlevel 3, and as a final step in their rc
files, telinit to runlevel 5.

CFExecd is defined for runlevel 5 only, to run and supervise the
system after all the user resources are available and running.

# CFEngine
cf:5:respawn:/var/cfengine/bin/cfexecd -g

The problems I've been experiencing are that when update.conf updates
itself or cfengine.conf remotely, cfexecd may still be hanging onto an
outdated copy of the file. I've had to kill cfexecd to fix this. I
believe this behavior was the cause of my signal issues with 2.0.8p1
as well.

Secondly, I can't update my cached copy of cfexecd in
/var/cfengine/bin, cfagent complains the file is busy because cfexecd
is running.

So, I've been considering having cfagent kill cfexecd every time it
runs to force it to regenerate and perhaps allow me to copy over
it. However I'm unclear as to whether that will kill the current
cfagent, and it seems so heavy handed...

Is anyone else using cfexecd as a child of init and have any input?

I don't use cron to run cfexecd because I want cfengine to monitor the
processes I require running on my system, and if cron dies, the
monitoring stops. Hence my desire to make cfexecd a respawning child
of init to ensure its always running.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]