From e3a7ae38a032bcb9667caefe7ccd700bb46f2970 Mon Sep 17 00:00:00 2001 From: Wei Zhou Date: Fri, 29 May 2026 10:59:47 +0200 Subject: [PATCH] do not restore as well --- python/lib/cloudutils/serviceConfig.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python/lib/cloudutils/serviceConfig.py b/python/lib/cloudutils/serviceConfig.py index 60b1650c7a0..3764c8ef6db 100755 --- a/python/lib/cloudutils/serviceConfig.py +++ b/python/lib/cloudutils/serviceConfig.py @@ -547,6 +547,8 @@ class securityPolicyConfigUbuntu(serviceCfgBase): or you can manually disable it before starting myCloud") def restore(self): + return True + try: self.syscfg.svo.enableService("apparmor") self.syscfg.svo.startService("apparmor") @@ -581,6 +583,8 @@ class securityPolicyConfigRedhat(serviceCfgBase): return True def restore(self): + return True + try: bash("setenforce 1") return True