File xinetd-2.3.14-honour_disable.patch of Package xinetd.5694

--- xinetd/parse.c
+++ xinetd/parse.c
@@ -702,6 +702,13 @@
          terminate_program();
       }
       pset_clear( attr_values ) ;
+
+      /*
+       * As soon as we realize that the service is disabled
+       * we don't continue parsing its config
+       */
+      if (EQ(attr_name, "disable") && SC_IS_DISABLED(scp))
+         return( FAILED );
    }
 }
 
openSUSE Build Service is sponsored by