Blame SOURCES/0001-cloud-setup-systemd-unit-rh1791758.patch

a3a88d
From 04ad92e259cd81fb0a492bc0e2284877ccb297ea Mon Sep 17 00:00:00 2001
a3a88d
From: Thomas Haller <thaller@redhat.com>
a3a88d
Date: Thu, 16 Jan 2020 13:40:26 +0100
a3a88d
Subject: [PATCH 1/1] cloud-setup: avoid unsupported systemd settings in
a3a88d
 nm-cloud-setup.service init for rhel-8.2
a3a88d
a3a88d
https://bugzilla.redhat.com/show_bug.cgi?id=1791758
a3a88d
---
a3a88d
 clients/cloud-setup/nm-cloud-setup.service.in | 6 +++---
a3a88d
 1 file changed, 3 insertions(+), 3 deletions(-)
a3a88d
a3a88d
diff --git a/clients/cloud-setup/nm-cloud-setup.service.in b/clients/cloud-setup/nm-cloud-setup.service.in
a3a88d
index 69a1a29ccba1..92e427beb8a1 100644
a3a88d
--- a/clients/cloud-setup/nm-cloud-setup.service.in
a3a88d
+++ b/clients/cloud-setup/nm-cloud-setup.service.in
a3a88d
@@ -21,15 +21,15 @@ PrivateDevices=yes
a3a88d
 PrivateTmp=yes
a3a88d
 ProtectControlGroups=yes
a3a88d
 ProtectHome=yes
a3a88d
-ProtectHostname=yes
a3a88d
-ProtectKernelLogs=yes
a3a88d
+#ProtectHostname=yes
a3a88d
+#ProtectKernelLogs=yes
a3a88d
 ProtectKernelModules=yes
a3a88d
 ProtectKernelTunables=yes
a3a88d
 ProtectSystem=strict
a3a88d
 RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
a3a88d
 RestrictNamespaces=yes
a3a88d
 RestrictRealtime=yes
a3a88d
-RestrictSUIDSGID=yes
a3a88d
+#RestrictSUIDSGID=yes
a3a88d
 SystemCallFilter=@system-service
a3a88d
 
a3a88d
 [Install]
a3a88d
-- 
a3a88d
2.24.1
a3a88d