admit-noclass-520696.patch 400 B

12345678910111213141516
  1. Fix a bug with admit/grant that let cfengine2 fails when the class
  2. of a cfengine fragment does not exist and more than a host or IP
  3. ranges are specified for a path (see #520696)
  4. --- a/src/install.c
  5. +++ b/src/install.c
  6. @@ -6561,7 +6561,7 @@
  7. if (!IsDefinedClass(classes))
  8. {
  9. Debug1("Not installing Auth path, no match\n");
  10. - InitializeAction();
  11. +// InitializeAction();
  12. return;
  13. }