Blame SOURCES/unsupported-settings.patch

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