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

1d2da6
From 45f33b5379c41f34fb1a27452e5f62e2d571e85e Mon Sep 17 00:00:00 2001
a3a88d
From: Thomas Haller <thaller@redhat.com>
a3a88d
Date: Thu, 16 Jan 2020 13:40:26 +0100
1d2da6
Subject: [PATCH] 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
---
1d2da6
 src/nm-cloud-setup/nm-cloud-setup.service.in | 6 +++---
a3a88d
 1 file changed, 3 insertions(+), 3 deletions(-)
a3a88d
1d2da6
diff --git a/src/nm-cloud-setup/nm-cloud-setup.service.in b/src/nm-cloud-setup/nm-cloud-setup.service.in
1d2da6
index f4b0e2638f14..c59bd47574ba 100644
1d2da6
--- a/src/nm-cloud-setup/nm-cloud-setup.service.in
1d2da6
+++ b/src/nm-cloud-setup/nm-cloud-setup.service.in
1d2da6
@@ -28,15 +28,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
-- 
1d2da6
2.31.1
a3a88d