Antonio Teixeira
59a0432830
- Update to version 2.4.2: * New features * redfishpower: cache host resolution lookups (#190) * redfishpower: support new --resolve-hosts option (#188) * redfishpower: support message timeout config (#186) * Fixes * redfishpower: increase default message timeout (#191) * redfishpower: output more detailed error messages (#183) - Changelog for 2.4.1 and 2.4.0: * Too many changes, see NEWS.md - Removed patches: * service-dynamic-user-autofiles.patch * service-dynamic-user-configure.patch - Refreshed patches: * Replace-deprecated-usmHMACMD5AuthProtocol-Protocol-by-SNMP_DEFAULT_AUTH_PROTO.patch * harden_powerman.service.patch OBS-URL: https://build.opensuse.org/request/show/1174075 OBS-URL: https://build.opensuse.org/package/show/hardware/powerman?expand=0&rev=52
23 lines
688 B
Diff
23 lines
688 B
Diff
Index: b/etc/powerman.service.in
|
|
===================================================================
|
|
--- a/etc/powerman.service.in
|
|
+++ b/etc/powerman.service.in
|
|
@@ -5,6 +5,17 @@ After=syslog.target network.target
|
|
[Service]
|
|
Environment=SHELL=/bin/sh
|
|
PrivateTmp=yes
|
|
+# 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
|
|
User=@RUN_AS_USER@
|
|
Group=@RUN_AS_GROUP@
|
|
ExecStart=@X_SBINDIR@/powermand
|