help-cfengine
[Top][All Lists]
Advanced

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

Re: Multiple log files?


From: Robert Shaw
Subject: Re: Multiple log files?
Date: Sat, 29 Jan 2005 22:51:59 -0800


On Jan 29, 2005, at 8:33 AM, Robert Shaw wrote:

On Jan 28, 2005, at 11:54 PM, Eric Sorenson wrote:
This is most likely due to the reentrancy problem in CanonifyName that
I posted about earlier in the week. Those filenames get created by the
CFLOG macro in GetLocks(); the 'host' is passed into the
function as its second argument, and everybody who calls GetLock() uses
CanonifyName() as it's passing in the arguments  (thanks, cscope!!)...
This could return the same thing as last time it was called, nothing,
or someimees the correct answer.

Just for kicks, do you have a testbed environment where you can try out
this patch and see if it fixes the problem?

http://lists.gnu.org/archive/html/bug-cfengine/2005-01/msg00012.html

Yes, I will test this patch out today.
Thanks!!

This patch did not change any behavior. I still get the exact same log file names "cfengine..runlog" and "cfengine.myhost.runlog, and same output from shellcommands, one with the hostname, one without:

cfengine::/bin/echo      : update.conf successfully executed.
cfengine:myhost:/bin/echo      : cfagent.conf successfully executed.

Any other ideas?

-Robert




reply via email to

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