bug-cfengine
[Top][All Lists]
Advanced

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

Bug in methods (cfengine 2.1.7p1)


From: Sven Mueller
Subject: Bug in methods (cfengine 2.1.7p1)
Date: Thu, 05 Aug 2004 13:04:50 +0200
User-agent: Thunderbird 0.6 (Windows/20040502)

Hi.

I already mailed this on the cfengine-help list, but got no reply. And actually, I think it is a major bug in cfengine (at least in 2.1.7p1):

Yesterday we ran into a problem where a Method is not executed properly with cfengine 2.1.7p1

The part of the problem which is obvious is the following:

==================================================================
> cfengine:mxfwd:InstallLeososPackage: Read arg from file /var/cfengine/rcfengine::/var/cfengine/modules/InstallLeososPackage.conf:Missing module argument package (/var/cfengine/rpc_in/localhost_localhost_InstallLeososPackage_MD5=6e7164f8f0d66085bfe19249c0db64e4_4
==================================================================

This much is displayed during a normal "cfagent" run. If I enable verbose/debug messages, I see (among other things of course):

==================================================================

> address@hidden /var/cfengine # grep -n 0d66085bfe19249c0db64e4_4 /tmp/cf.log
14099:Create arg_file /var/cfengine/rpc_in/localhost_localhost_InstallLeososPackage_MD5=6e7164f8f0d66085bfe19249c0db64e4_4

> 14739:cfengine:mxfwd:InstallNagiosCheck: Examining child's incoming (localhost_localhost_InstallLeososPackage_MD5=6e7164f8f0d66085bfe19249c0db64e4_4)

> 14743:cfengine:mxfwd:InstallNagiosCheck: Purging expired method /var/cfengine/rpc_in/localhost_localhost_InstallLeososPackage_MD5=6e7164f8f0d66085bfe19249c0db64e4_4

> 16254:cfengine:mxfwd:InstallLeososPackage: Read arg from file /var/cfengine/rcfengine::/var/cfengine/modules/InstallLeososPackage.conf:Missing module argument package (/var/cfengine/rpc_in/localhost_localhost_InstallLeososPackage_MD5=6e7164f8f0d66085bfe19249c0db64e4_4)

> 16276:cfengine:mxfwd:InstallLeososPackage: Read arg from file /var/cfengine/rpc_in/localhost_localhost_InstallLeososPackage_MD5=6e7164f8f0d66085bfe19249c0db64e4_4

==================================================================

Why does cfagent (when called for) InstallNagiosCheck remove a file which isn't even intended for it? In fact, the cfagent child process for InstallNagiosCheck purges just the file about which the later child process for InstallLeososPackage complains it can't find.

Any hints? Is this fixed in cfengine 2.1.8? The Chnagelog entry
    Bugs in implementation of remote method protocol. Classes were
          not transferred properly.
gives a hint it might be.

Would appreciate any help.

cu,
sven




reply via email to

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