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

38 lines
1.1 KiB
Diff
Raw Normal View History

2021-03-30 13:44:18 +00:00
From 6069af3e7a7d506c02f007c71e2a9271b8ef3d09 Mon Sep 17 00:00:00 2001
2020-07-28 14:21:55 +00:00
From: Thomas Haller <thaller@redhat.com>
Date: Thu, 16 Jan 2020 13:40:26 +0100
Subject: [PATCH 1/1] cloud-setup: avoid unsupported systemd settings in
nm-cloud-setup.service init for rhel-8.2
https://bugzilla.redhat.com/show_bug.cgi?id=1791758
---
clients/cloud-setup/nm-cloud-setup.service.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/clients/cloud-setup/nm-cloud-setup.service.in b/clients/cloud-setup/nm-cloud-setup.service.in
2021-03-30 13:44:18 +00:00
index 9866acd8b0ae..a3df3863c4df 100644
2020-07-28 14:21:55 +00:00
--- a/clients/cloud-setup/nm-cloud-setup.service.in
+++ b/clients/cloud-setup/nm-cloud-setup.service.in
2021-03-30 13:44:18 +00:00
@@ -22,15 +22,15 @@ PrivateDevices=yes
2020-07-28 14:21:55 +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-03-30 13:44:18 +00:00
2.26.2
2020-07-28 14:21:55 +00:00