Blame SOURCES/0002-systemd-drop-Protect-options-not-supported-in-RHEL-8.patch

9a0c14
From 30f781482122db14f7bf89cb31db1c6aba30bba8 Mon Sep 17 00:00:00 2001
9a0c14
From: Michal Schmidt <mschmidt@redhat.com>
9a0c14
Date: Wed, 8 Feb 2023 15:19:17 +0100
9a0c14
Subject: [PATCH 2/2] systemd: drop Protect* options not supported in RHEL 8
9a0c14
 systemd
9a0c14
9a0c14
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
9a0c14
---
9a0c14
 ibacm/ibacm.service.in       | 2 --
9a0c14
 iwpmd/iwpmd.service.in       | 2 --
9a0c14
 rdma-ndd/rdma-ndd.service.in | 1 -
9a0c14
 3 files changed, 5 deletions(-)
9a0c14
9a0c14
diff --git a/ibacm/ibacm.service.in b/ibacm/ibacm.service.in
9a0c14
index 56538beb2b15..535e1aeae326 100644
9a0c14
--- a/ibacm/ibacm.service.in
9a0c14
+++ b/ibacm/ibacm.service.in
9a0c14
@@ -19,8 +19,6 @@ Type=notify
9a0c14
 ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/ibacm --systemd
9a0c14
 ProtectSystem=full
9a0c14
 ProtectHome=true
9a0c14
-ProtectHostname=true
9a0c14
-ProtectKernelLogs=true
9a0c14
 
9a0c14
 [Install]
9a0c14
 Also=ibacm.socket
9a0c14
diff --git a/iwpmd/iwpmd.service.in b/iwpmd/iwpmd.service.in
9a0c14
index 47afebd8ad02..dd4dc750c26c 100644
9a0c14
--- a/iwpmd/iwpmd.service.in
9a0c14
+++ b/iwpmd/iwpmd.service.in
9a0c14
@@ -26,7 +26,5 @@ ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/iwpmd --systemd
9a0c14
 LimitNOFILE=102400
9a0c14
 ProtectSystem=full
9a0c14
 ProtectHome=true
9a0c14
-ProtectHostname=true
9a0c14
-ProtectKernelLogs=true
9a0c14
 
9a0c14
 # iwpmd is automatically wanted by udev when an iWarp RDMA device is present
9a0c14
diff --git a/rdma-ndd/rdma-ndd.service.in b/rdma-ndd/rdma-ndd.service.in
9a0c14
index 368deec00b2c..9cbe93fb6900 100644
9a0c14
--- a/rdma-ndd/rdma-ndd.service.in
9a0c14
+++ b/rdma-ndd/rdma-ndd.service.in
9a0c14
@@ -22,6 +22,5 @@ Restart=always
9a0c14
 ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/rdma-ndd --systemd
9a0c14
 ProtectSystem=full
9a0c14
 ProtectHome=true
9a0c14
-ProtectKernelLogs=true
9a0c14
 
9a0c14
 # rdma-ndd is automatically wanted by udev when an RDMA device with a node description is present
9a0c14
-- 
9a0c14
2.39.1
9a0c14