File disable_not_relevant_checks_bnc_828453.patch of Package cobbler.15445

Index: cobbler-2.6.6/cobbler/
--- cobbler-2.6.6.orig/cobbler/
+++ cobbler-2.6.6/cobbler/
@@ -100,7 +100,7 @@ class BootCheck:
        return status
    def check_for_ksvalidator(self, status):
-       if self.checked_dist in ["debian", "ubuntu"]:
+       if self.checked_dist in ["debian", "ubuntu", "suse"]:
        if not os.path.exists("/usr/bin/ksvalidator"):
@@ -109,6 +109,9 @@ class BootCheck:
        return True
    def check_for_cman(self, status):
+       if self.checked_dist == "suse":
+          return
        # not doing rpm -q here to be cross-distro friendly
        if not os.path.exists("/sbin/fence_ilo") and not os.path.exists("/usr/sbin/fence_ilo"):
            status.append("fencing tools were not found, and are required to use the (optional) power management features. install cman or fence-agents to use them")
@@ -180,6 +183,9 @@ class BootCheck:
                    status.append(_("yum-utils need to be at least version 1.1.17 for reposync -l, current version is %s") % yum_utils_ver )
    def check_debmirror(self,status):
+       if self.checked_dist == "suse":
+          return
        if not os.path.exists("/usr/bin/debmirror"):
            status.append(_("debmirror package is not installed, it will be required to manage debian deployments and repositories"))
        if os.path.exists("/etc/debmirror.conf"):
@@ -218,6 +224,9 @@ class BootCheck:
            status.append(_("SELinux is enabled. Please review the following wiki page for details on ensuring cobbler works correctly in your SELinux environment:\n"))
    def check_for_default_password(self,status):
+       if self.checked_dist == "suse":
+          return
        default_pass = self.settings.default_password_crypted
        if default_pass == "$1$mF86/UHC$WvcIcX2t6crBz2onWxyac.":
            status.append(_("The default password used by the sample templates for newly installed machines (default_password_crypted in /etc/cobbler/settings) is still set to 'cobbler' and should be changed, try: \"openssl passwd -1 -salt 'random-phrase-here' 'your-password-here'\" to generate new one"))
openSUSE Build Service is sponsored by