forked from pool/chrony
21 lines
646 B
Diff
21 lines
646 B
Diff
|
Index: chrony-4.1/examples/chronyd.service
|
||
|
===================================================================
|
||
|
--- chrony-4.1.orig/examples/chronyd.service
|
||
|
+++ chrony-4.1/examples/chronyd.service
|
||
|
@@ -17,6 +17,15 @@ ExecStart=/usr/sbin/chronyd $OPTIONS
|
||
|
PrivateTmp=yes
|
||
|
ProtectHome=yes
|
||
|
ProtectSystem=full
|
||
|
+# added automatically, for details please see
|
||
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
||
|
+PrivateDevices=true
|
||
|
+ProtectHostname=true
|
||
|
+ProtectKernelModules=true
|
||
|
+ProtectKernelLogs=true
|
||
|
+ProtectControlGroups=true
|
||
|
+DeviceAllow=char-rtc
|
||
|
+# end of automatic additions
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|