Blame SOURCES/0002-contrib-service-don-t-unload-modules-on-stop.patch

190f5a
From 8909e63c54adb34a0324200f99c63fcd7db5cbc5 Mon Sep 17 00:00:00 2001
190f5a
From: Joe Lawrence <joe.lawrence@redhat.com>
190f5a
Date: Mon, 10 Jun 2019 16:55:54 -0400
190f5a
Subject: [PATCH] contrib/service: don't unload modules on stop
190f5a
190f5a
The kpatch.service file shouldn't unload patch modules on service stop
190f5a
(this is also executed by systemd on reboot).  Patch modules may not be
190f5a
designed to be safely unloaded and/or may patch kernel routines that
190f5a
need to continue to run throughout system bring down.
190f5a
190f5a
Suggested-by: disaster123
190f5a
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
190f5a
---
190f5a
 contrib/kpatch.service | 1 -
190f5a
 1 file changed, 1 deletion(-)
190f5a
190f5a
diff --git a/contrib/kpatch.service b/contrib/kpatch.service
190f5a
index 5286f6c929e0..cf13f40105d9 100644
190f5a
--- a/contrib/kpatch.service
190f5a
+++ b/contrib/kpatch.service
190f5a
@@ -6,7 +6,6 @@ ConditionKernelCommandLine=!kpatch.enable=0
190f5a
 Type=oneshot
190f5a
 RemainAfterExit=yes
190f5a
 ExecStart=PREFIX/sbin/kpatch load --all
190f5a
-ExecStop=PREFIX/sbin/kpatch unload --all
190f5a
 
190f5a
 [Install]
190f5a
 WantedBy=multi-user.target
190f5a
-- 
190f5a
2.21.0
190f5a