With Debian releasing the etch (4.0) release, my cfengine was upgraded
to 2.1.20 . I have Inform = ( on ) in my cfagent.conf and cfengine is
run regularly from cron.

It used to be the case that if no changes were made to the system, a
run on "cfagent" produced no output even with Inform = ( on ) . This
is an useful sign that things are unchanged and the script need not
produce a log.

Since the upgrade, cfagent is always producing two lines of output:
cfengine:hostname: Prepending [hostname]
cfengine:hostname: Appending [hostname]
(where hostname is the actual host name where the program is running)
even when no changes are made to the system.

I looked at the source of version 2.1.22 from cfengine.org and I guess
the messages are produced by cfagent.c line 1084 and following, where
the program is massaging the binserver list. There seems to be no
apparent way to suppress this output as long as Inform = ( on ) is
set.

Obviously, this can be worked around by grep-ing the output, but I
find this a non-elegant solution. The behaviour since I started to use
cfengine around year 2000 has been that Inform = ( on ) produces no
output if the system is unchanged. It would be nice if this tradition
were continued.

Since the binservers feature does not appear to be a frequently used
one (IMHO), I suggest that these messages (perhaps the whole
processing of binservers list) should be suppressed if the user does
not intend to use the particular feature.

-- 
Toomas Tamm                                 e-mail: tamm (at) yki.ttu.ee
Chair of Inorganic Chemistry                voice:  INT+372-620-2810
Tallinn University of Technology            fax:    INT+372-620-2828
Ehitajate tee 5, EE-19086 Tallinn, Estonia  http://www.kk.ttu.ee/toomas/
_______________________________________________
Bug-cfengine mailing list
[EMAIL PROTECTED]
https://cfengine.org/mailman/listinfo/bug-cfengine

Reply via email to