[bug-notifications] [cfengine 0005010]: cfexecd tries to exec /var/cfengine/bin/cfagent
Mantis Bug Tracker
noreply at opencsw.org
Mon Oct 15 10:53:08 CEST 2012
A NOTE has been added to this issue.
======================================================================
https://www.opencsw.org/mantis/view.php?id=5010
======================================================================
Reported By: jamest
Assigned To: bonivart
======================================================================
Project: cfengine
Issue ID: 5010
Category: regular use
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 2012-10-05 17:59 CEST
Last Modified: 2012-10-15 10:53 CEST
======================================================================
Summary: cfexecd tries to exec /var/cfengine/bin/cfagent
Description:
Clean install of CSWcfengine-2.2.10,REV=2009.11.11 from testing repo...
root at OCS-Server:~# /opt/csw/sbin/cfexecd -Fv
No schedule defined in cfagent.conf, defaulting to Min00_05
Checking integrity of the state database
Checking integrity of the module directory
Checking integrity of the input data for RPC
Checking integrity of the output data for RPC
Checking integrity of the PKI directory
Making sure that locks are private...
Looking for a source of entropy in /var/cfengine/state/cf_observations.db
cfexecd: Could not read sufficient randomness from
/var/cfengine/state/cf_observations.db
---------------------------------------------------------------------
Starting server
---------------------------------------------------------------------
No schedule defined in cfagent.conf, defaulting to Min00_05
------------------------------------------------------------------
LocalExec(not scheduled) at Fri Oct 5 10:51:06 2012
------------------------------------------------------------------
cfexecd: cfexecd: Couldn't run /var/cfengine/bin/cfagent
cfexecd: cfexecd: execv: Bad file number
I also tried CSWcfengine-2.2.10,REV=2012.06.07 from unstable with same
results.
======================================================================
----------------------------------------------------------------------
(0010178) bwalton (administrator) - 2012-10-15 10:53
https://www.opencsw.org/mantis/view.php?id=5010#c10178
----------------------------------------------------------------------
This is the way cfengine has historically been configured. Short of
patching paths in the source, it's likely best to just have
/var/cfengine/bin/cfagent -> /opt/csw/sbin/cfagent as part of the package.
(This is my experience with cfengine2 for several years now.)
More information about the bug-notifications
mailing list