help-cfengine
[Top][All Lists]
Advanced

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

Re: SingleCopy Nirvana - stat warnings


From: John Warburton
Subject: Re: SingleCopy Nirvana - stat warnings
Date: Wed, 27 Sep 2006 17:50:19 +1000
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

Hi All

I have had a look at the SingleCopy Nirvana Wiki Page at http://cfwiki.org/cfwiki/index.php/Singlecopy_Nirvana for the patch that is supposed to be there for cfservd, but I cannot find it.

Am I missing something or is the Wiki?

Thanks

John

Eric Sorenson wrote, On 4/05/2005 6:40 AM:
On Mon, 2 May 2005, Luke Youngblood wrote:

I'm still having issues with the stat messages and hoping someone could help
me out here.  In the SingleCopy Nirvana wiki page, he references a patch to
cfservd that removes the stat messages unless you execute it with a -v.  Is
there a similar patch for cfagent, or does anyone know of an easy way to do
this?

I guess that's me, I wrote the wiki page and the patch.

Here's one to do the same thing in cfagent.

*** do.c        2005-05-03 13:39:21.000000000 -0700
--- do.c.eric   2005-05-03 13:38:45.000000000 -0700
***************
*** 2449,2455 ****
        if (cfstat(path,&statbuf,ip) == -1)
           {
           snprintf(OUTPUT,CF_BUFSIZE*2,"Can't stat %s in copy\n",path);
!          CfLog(cfinform,OUTPUT,"");
           SILENT = savesilent;
           ResetOutputRoute('d','d');
           continue;
--- 2449,2455 ----
        if (cfstat(path,&statbuf,ip) == -1)
           {
           snprintf(OUTPUT,CF_BUFSIZE*2,"Can't stat %s in copy\n",path);
!          CfLog(cfverbose,OUTPUT,"");
           SILENT = savesilent;
           ResetOutputRoute('d','d');
           continue;




--
John Warburton
9385 8046
UNSW IT Services




reply via email to

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