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

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