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

38 lines
1.1 KiB
Diff
Raw Normal View History

2021-11-09 09:57:15 +00:00
From 45f33b5379c41f34fb1a27452e5f62e2d571e85e Mon Sep 17 00:00:00 2001
2021-02-16 07:42:01 +00:00
From: Thomas Haller <thaller@redhat.com>
Date: Thu, 16 Jan 2020 13:40:26 +0100
2021-11-09 09:57:15 +00:00
Subject: [PATCH] cloud-setup: avoid unsupported systemd settings in
2021-02-16 07:42:01 +00:00
nm-cloud-setup.service init for rhel-8.2
https://bugzilla.redhat.com/show_bug.cgi?id=1791758
---
2021-11-09 09:57:15 +00:00
src/nm-cloud-setup/nm-cloud-setup.service.in | 6 +++---
2021-02-16 07:42:01 +00:00
1 file changed, 3 insertions(+), 3 deletions(-)
2021-11-09 09:57:15 +00:00
diff --git a/src/nm-cloud-setup/nm-cloud-setup.service.in b/src/nm-cloud-setup/nm-cloud-setup.service.in
index f4b0e2638f14..c59bd47574ba 100644
--- a/src/nm-cloud-setup/nm-cloud-setup.service.in
+++ b/src/nm-cloud-setup/nm-cloud-setup.service.in
@@ -28,15 +28,15 @@ PrivateDevices=yes
2021-02-16 07:42:01 +00:00
PrivateTmp=yes
ProtectControlGroups=yes
ProtectHome=yes
-ProtectHostname=yes
-ProtectKernelLogs=yes
+#ProtectHostname=yes
+#ProtectKernelLogs=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
ProtectSystem=strict
RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
RestrictNamespaces=yes
RestrictRealtime=yes
-RestrictSUIDSGID=yes
+#RestrictSUIDSGID=yes
SystemCallFilter=@system-service
[Install]
--
2021-11-09 09:57:15 +00:00
2.31.1
2021-02-16 07:42:01 +00:00