File harden_ipmiutil_asy.service.patch of Package ipmiutil

Index: ipmiutil-3.1.9/scripts/ipmiutil_asy.service
===================================================================
--- ipmiutil-3.1.9.orig/scripts/ipmiutil_asy.service
+++ ipmiutil-3.1.9/scripts/ipmiutil_asy.service
@@ -3,6 +3,17 @@ Description=ipmiutil Async Bridge Agent
 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
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions 
 Type=forking
 PIDFile=/run/ipmiutil_asy.pid
 EnvironmentFile=/usr/share/ipmiutil/ipmiutil.env
openSUSE Build Service is sponsored by