tag 520696 -moreinfo
tag 520696 patch pending
thanks
Ok, the patch is attached, it is very simple :-)
It will just skip the entire action when the class does not exist, same as the other Install*
functions are doing.
I've updated this to git and I've uploaded cfengine2-2.2.9-3 on mentors, can you please give it a
got and check that everything is working as before (except the error you were getting which now
should be fixed.
The package can be found on mentors.debian.net:
- URL: http://mentors.debian.net/debian/pool/main/c/cfengine2
- Source repository: deb-src http://mentors.debian.net/debian unstable main
contrib non-free
- dget
http://mentors.debian.net/debian/pool/main/c/cfengine2/cfengine2_2.2.9-3.dsc
Cheers
Antonio
Fix a bug with admit/grant that let cfengine2 fails when the class
of a cfengine fragment does not exist and more than a host or IP
ranges are specified for a path (see #520696)
--- a/src/install.c
+++ b/src/install.c
@@ -6561,7 +6561,7 @@
if (!IsDefinedClass(classes))
{
Debug1("Not installing Auth path, no match\n");
- InitializeAction();
+// InitializeAction();
return;
}