bug-cfengine
[Top][All Lists]
Advanced

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

from_cfexecd not firing on most runs


From: Chip Seraphine
Subject: from_cfexecd not firing on most runs
Date: Mon, 15 Nov 2004 12:16:53 -0600
User-agent: Mozilla Thunderbird 0.8 (X11/20040916)


In cfengine 2.1.11, the from_cfexecd class is set on some but not all cfagent runs initiated by cfexecd. This fixes it such that from_cfexecd is set on every cfagent run that the exec daemon initiates.


address@hidden:37:28-..gine-2.1.11.i386/src$ diff -u cfexecd.c cfexecd.NEW.c
--- cfexecd.c   2004-11-15 10:37:30.862757000 -0600
+++ cfexecd.NEW.c       2004-11-15 10:37:28.226303000 -0600
@@ -617,11 +617,11 @@

if (NOSPLAY)
   {
-   snprintf(cmd,CF_BUFSIZE-1,"%s/bin/cfagent -q",CFWORKDIR);
+ snprintf(cmd,CF_BUFSIZE-1,"%s/bin/cfagent -D from_cfexecd -q",CFWORKDIR);
   }
else
   {
-   snprintf(cmd,CF_BUFSIZE-1,"%s/bin/cfagent",CFWORKDIR);
+   snprintf(cmd,CF_BUFSIZE-1,"%s/bin/cfagent -D from_cfexecd",CFWORKDIR);
   }

timestamp(starttime, line, CF_BUFSIZE);


--

Chip Seraphine
Unix Administrator
TradeLink, LLC
312-264-2048
address@hidden





reply via email to

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