bug-cfengine
[Top][All Lists]
Advanced

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

Re: Weird bugs


From: Mark Burgess
Subject: Re: Weird bugs
Date: Thu, 06 Oct 2005 14:36:08 +0200

> * When cfexecd sends email, the from address can be (in some circumstances) 
> set differently in the smtp 'MAIL FROM:' and the 'From:' header set in the 
> message data. Is this behavior desired? If not, I offer to help fix it. If 
> so, there seem to be some oddities which I would like to clarify.

If this is related to the email patch you sent, then it is presumably
fixed in 2.1.16, unless I have misunderstood. Please check.

> * There are extraneous cfengine.*.runlog files getting generated. I have 
> studied the code extensively, and have come to the conclusion that cfexecd 
> has some flaws in the way it resolves hostnames. Assuming you agree to this 
> conclusion, I can offer a possible resolution, including a patch if you do 
> not have the time to provide assistance. All I ask is some guidance in 
> understanding your original intent.

The problem here is that VUQNAME is set too late. A possible fix would
be to assume that VSYSNAME.nodename is VUQNAME until it discovers better
some other way. Would this solve the problem for you. 

I don't care whether people use fully qualified names a their hostnames.
Personally I think it is wrong, but that can be discussed. The main
thing is to distinguish between VQ and UQ names -- and that is actually
impossible to do with certainty, unless you have already declared the
domain name.

What is your suggested resolution of the problem?

M





reply via email to

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