SHA256
1
0
forked from pool/2ping

Accepting request 925443 from home:jsegitz:branches:systemdhardening_protectclock

- Drop ProtectClock hardening, can cause issues if other device acceess is needed

OBS-URL: https://build.opensuse.org/request/show/925443
OBS-URL: https://build.opensuse.org/package/show/network:utilities/2ping?expand=0&rev=32
This commit is contained in:
Jiri Slaby 2022-08-17 11:41:52 +00:00 committed by Git OBS Bridge
parent c7169ad37e
commit 970d79bef9
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Oct 15 11:48:55 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Drop ProtectClock hardening, can cause issues if other device acceess is needed
-------------------------------------------------------------------
Tue Aug 10 09:28:47 UTC 2021 - Johannes Segitz <jsegitz@suse.com>

View File

@ -2,14 +2,13 @@ Index: 2ping-4.5.1/2ping.service
===================================================================
--- 2ping-4.5.1.orig/2ping.service
+++ 2ping-4.5.1/2ping.service
@@ -30,6 +30,11 @@ RestrictAddressFamilies=AF_NETLINK AF_IN
@@ -30,6 +30,10 @@ RestrictAddressFamilies=AF_NETLINK AF_IN
RestrictNamespaces=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectHostname=true
+ProtectClock=true
+# end of automatic additions
User=nobody