SHA256
1
0
forked from pool/ipmiutil
ipmiutil/harden_ipmiutil_evt.service.patch

24 lines
766 B
Diff
Raw Normal View History

Index: ipmiutil-3.1.7/scripts/ipmiutil_evt.service
===================================================================
--- ipmiutil-3.1.7.orig/scripts/ipmiutil_evt.service
+++ ipmiutil-3.1.7/scripts/ipmiutil_evt.service
@@ -3,6 +3,18 @@ Description=ipmiutil Event Daemon
After=network.target
[Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=full
+ProtectHome=true
+ProtectHostname=true
+ProtectClock=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions
Type=forking
PIDFile=/run/ipmiutil_evt.pid
EnvironmentFile=/usr/share/ipmiutil/ipmiutil.env