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

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