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

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