Blame SOURCES/unsupported-settings.patch

e1207c
From 6b62f6a9c94db39c635215ed4acf48bfe4b99d23 Mon Sep 17 00:00:00 2001
e1207c
From: Christian Kellner <christian@kellner.me>
e1207c
Date: Wed, 27 Mar 2019 15:05:40 +0100
e1207c
Subject: [PATCH] data: remove unsupported service file settings
e1207c
e1207c
On older systemd (say 219) some of the settings we use in bolt are
e1207c
not supported and systemd would warn about them, so remove them.
e1207c
---
e1207c
 data/bolt.service.in | 10 ----------
e1207c
 1 file changed, 10 deletions(-)
e1207c
e1207c
diff --git a/data/bolt.service.in b/data/bolt.service.in
e1207c
index d17b4c7..a9e7a8a 100644
e1207c
--- a/data/bolt.service.in
e1207c
+++ b/data/bolt.service.in
e1207c
@@ -11,19 +11,9 @@ ExecStart=@libexecdir@/boltd
e1207c
 Restart=on-failure
e1207c
 NotifyAccess=main
e1207c
 
e1207c
-MemoryDenyWriteExecute=yes
e1207c
 PrivateTmp=yes
e1207c
-ProtectControlGroups=yes
e1207c
 ProtectHome=yes
e1207c
-ProtectKernelModules=yes
e1207c
 ProtectSystem=full
e1207c
 RestrictAddressFamilies=AF_NETLINK AF_UNIX
e1207c
-RestrictRealtime=yes
e1207c
-ReadWritePaths=@dbdir@
e1207c
 SystemCallFilter=~@mount
e1207c
 CapabilityBoundingSet=CAP_NET_ADMIN
e1207c
-
e1207c
-#directory management
e1207c
-RuntimeDirectory=@dbname@
e1207c
-RuntimeDirectoryPreserve=yes
e1207c
-StateDirectory=@dbname@
e1207c
-- 
e1207c
2.20.1
e1207c