File suse-selinux.patch of Package freeipa-patched

From b8a619fa0516bab3fcdfe2ea98dc4965e2e25acb Mon Sep 17 00:00:00 2001
From: mhurron <mhurron@saminds.com>
Date: Sun, 22 Sep 2024 17:03:11 -0400
Subject: [PATCH] Remove override functions that were never writte. openSUSE's
 SELinux configuration follows Red Hat close enough

---
 ipaplatform/suse/tasks.py | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/ipaplatform/suse/tasks.py b/ipaplatform/suse/tasks.py
index 96f474ca3a5..4f58c39f428 100644
--- a/ipaplatform/suse/tasks.py
+++ b/ipaplatform/suse/tasks.py
@@ -18,12 +18,6 @@
 
 
 class SuseTaskNamespace(RedHatTaskNamespace):
-    def restore_context(self, filepath, force=False):
-        pass  # FIXME: Implement after libexec move
-
-    def check_selinux_status(self, restorecon=paths.RESTORECON):
-        pass  # FIXME: Implement after libexec move
-
     def set_nisdomain(self, nisdomain):
         nis_variable = "NETCONFIG_NIS_STATIC_DOMAIN"
         try:
@@ -41,9 +35,6 @@ def set_nisdomain(self, nisdomain):
         with open(paths.SYSCONF_NETWORK, "w") as f:
             f.writelines(content)
 
-    def set_selinux_booleans(self, required_settings, backup_func=None):
-        return False  # FIXME: Implement after libexec move
-
     def modify_nsswitch_pam_stack(self, sssd, mkhomedir, statestore,
                                   sudo=True, subid=False):
         # pylint: disable=ipa-forbidden-import
openSUSE Build Service is sponsored by