Could one of the bugfix patches from cfengine's svn be applied to Fedora's build?
Description of problem:
When you do a shellcommand and set classes for on success and failure
(define/elsedefine), it copies those classes into the all classes
buffer which is the same one used for $(allclasses). It seems quite
unnecessary, though, as the classes are defined as they should be, based
on return value, later.
 HandleDefine (install.c:6036) and HandleElseDefine (install.c:6072),
called by HandleOptionalScriptAttribute (install.c:1532), called by
 cfpclose_def (popen_def.c:122) called by Scripts (do.c:1461)
Version-Release number of selected component (if applicable):
This has been patched upstream in svn commit 629: http://svn.iu.hio.no/viewvc?view=rev&root=Cfengine-2&revision=629
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.
More information and reason for this action is here:
Created attachment 376215 [details]
Patch for broken allclasses variable (upstream svn commit 629)
This patch fixes the allclasses breakage for us. It's in upstream svn, so it should make it into the next release.
Garrett, thanks for the bug report. I've created update RPMs for F12, however with the Fedora infrastructure down this week, I can't currently build in koji. Can you test out the RPMs located at
Here are the sha1sums for them:
It works for me as far as I can tell. Or at least it does for x86_64; I don't have any i386 installs to test it with.
It looks like bodhi should be back up soon.
Good enough for me. Thanks for testing. I have another bug or two to fix, but I'll include this in the next fedora build to go out soon.
cfengine-2.2.10-5.fc12 has been submitted as an update for Fedora 12.
cfengine-2.2.10-5.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update cfengine'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0040
cfengine-2.2.10-5.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.