forked from pool/ipmiutil
Dirk Mueller
d3f84bf279
- Drop ProtectClock hardening, can cause issues if other device acceess is needed OBS-URL: https://build.opensuse.org/request/show/925461 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ipmiutil?expand=0&rev=44
23 lines
747 B
Diff
23 lines
747 B
Diff
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,17 @@ 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
|
|
+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
|