On 05/17/2012 03:05 PM, no-re...@cfengine.com wrote: > # cf-promises > cf-promises: symbol lookup error: cf-promises: undefined symbol: > GOALCATEGORIES > > > Restarting cfengine (/etc/init.d/cfengine3 restart) does not help. > > But waiting helps: After 15 minutes, the error is not displayed anymore. > > Am I doing something bad by making CFEngine replacing and restarting itself?
No CFE should be able to do that just fine. I am guessing this is caused because your executing cf-promises from /usr/local/sbin which is the old version, cf-agent runs inside that 15 minutes and copies the binaries from /var/cfengine/bin to /usr/local/sbin then next time you run you dont get the error. At least without looking thats my guess. I saw similar errors when I upgraded from 3.2.1 to 3.3.0 and I wrote this sketch to work around a few issues. Most of the rpm issues are reportedly resolved in 3.3.1 and 3.3.2 but I have not looked closely. You might find a hint as to whats causing it if you read through the policy here if its something I had to work around before. https://github.com/nickanderson/design-center/tree/feature_upgrade_cfengine_3_3_0_rpm/policy_examples/upgrade_cfengine_3_3_0_rpm _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine