OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005010 [cfengine] regular use minor always 2012-10-05 17:59 2012-11-16 15:13
Reporter jamest View Status public  
Assigned To bonivart
Priority normal Resolution open  
Status assigned  
Summary 0005010: cfexecd tries to exec /var/cfengine/bin/cfagent
Description Clean install of CSWcfengine-2.2.10,REV=2009.11.11 from testing repo...

root@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.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010177)
bonivart (manager)
2012-10-15 10:15

Do you have a patch or at least a suggested solution? I don't use that package myself but if no one else is prepared to take it on I can respin it but I need some help to fix it.
(0010178)
bwalton (administrator)
2012-10-15 10:53

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.)
(0010221)
jamest (reporter)
2012-11-16 15:13

I'll take a look at it next week to see what I can come up with for a patch.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker