Thanks, there is a more elegant fix, but you hit the spot. Matt Richards wrote: > I believe that cf-serverd is not setting VINPUTFILE using the full path > of promises.cf <http://promises.cf>. Consider the following output: > > # cf-serverd -v > cf3 Cfengine - autonomous configuration engine - commence > self-diagnostic prelude > > ... > > cf3 Listening for connections ... > cf3 There is no readable input file at promises.cf <http://promises.cf> > cf3 (stat: No such file or directory) > cf3 There is no readable input file at promises.cf <http://promises.cf> > cf3 (stat: No such file or directory) > cf3 There is no readable input file at promises.cf <http://promises.cf> > cf3 (stat: No such file or directory) > > .... and so on > > In function GenericInitialize (generic_agent.c): > > if (!MINUSF) > { > snprintf(VINPUTFILE,CF_BUFSIZE-1,'promises.cf <http://promises.cf>"); > } > > I think that should be: > > if (!MINUSF) > { > snprintf(VINPUTFILE,CF_BUFSIZE-1,"%s/inputs/promises.cf > <http://promises.cf>",CFWORKDIR); <<<<<< use the full path > } > > > Thanks, > Matt > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Bug-cfengine mailing list > [email protected] > https://cfengine.org/mailman/listinfo/bug-cfengine
-- Mark Burgess ------------------------------------------------- Professor of Network and System Administration Oslo University College, Norway Personal Web: http://www.iu.hio.no/~mark Office Telf : +47 22453272 ------------------------------------------------- _______________________________________________ Bug-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/bug-cfengine
