cf3 control inputs using list (cf-serverd)

Matt Richards <[email protected]> Wed, 8 Apr 2009 11:05:57 -0400
Newsgroups gmane.comp.sysutils.cfengine.bugs
Message-ID <[email protected]>
Here is another weird one with cf-serverd (sorry about my weird configs):

body common control {

    bundlesequence      => { "update" ,
                             @(bundles.bundles)
                           };

    inputs              => { "update.cf",
                             "site.cf",
                             "library.cf" ,
                             @(bundles.inputs)
                           };

}

#./cf-serverd -v

...

cf3 Listening for connections ...
cf3 There are no readable promise proposals at  .hs
cf3 (stat: No such file or directory)
cf3 There are no readable promise proposals at  18s
cf3 (stat: No such file or directory)
cf3 There are no readable promise proposals at  3Xs
cf3 (stat: No such file or directory)


In generic_agent.c (around line 438):
         struct Rval returnval =
EvaluateFinalRval("sys",rp->item,rp->type,true,NULL);

returnval seems to look at the control inputs okay, until it gets to
the @(bundles.inputs).

(dbx)  p (char *)returnval.item
update.cf
...
(dbx)  p (char *)returnval.item
site.cf
...
(dbx)  p (char *)returnval.item
library.cf
...
(dbx)  p (char *)returnval.item
 ^W.Hs

I think it has something to do with how VINPUTLIST is created/parsed
(using flex-2.5.3/bison-2.3/m4-1.4.9). The server seems to run okay, I
just get an endless parade of the error messages.